| ▲ | bfung a day ago |
| 1/2 troll side-galley comment: use AI and translate to Rust. If the outcome or outputs / test cases are known, AI is great at language translations. |
|
| ▲ | hoppp a day ago | parent | next [-] |
| Not sure if it's worth it. I don't see them complaining about speed and they use specific python dependencies then they would need to translate that to rust also. |
| |
| ▲ | tripleee a day ago | parent [-] | | TiDi is a huge problem in big skirmishes, to the point where people actively avoid large group fights: https://wiki.eveuniversity.org/Time_dilation The server isn't fast enough and it ends up slowing the game down to 10% speed as a workaround. | | |
| ▲ | ShinTakuya a day ago | parent [-] | | Rewriting it in Rust isn't automatically faster and more importantly Eve's gameplay is constantly being iterated on and Rust has proven to be bad for that. Moreover, most of Eve's bottleneck isn't single server speed, it's mostly network IO and database queries and latency. The big TiDi skirnishes in particular are slow due to this. | | |
| ▲ | tripleee 2 hours ago | parent | next [-] | | On the iteration: I'm not sure that's the case anymore? Sure new content is added but it's largely within existing systems. The game is closing in on 25 years old at this point. I've no insight into what specifically their bottleneck is. The database doesn't sound like it'd be a factor, though, since the slowdowns are isolated to single nodes handling the area with players and don't effect others. | |
| ▲ | JackMorgan 9 hours ago | parent | prev [-] | | Could I see your sources for how Rust is slower for iterations? I've been working in JS, Python, C#, TS, and F# for about ten years. I'd guess F# and TS are tied for me for prototyping speed. I have to wonder how much the "common knowledge" that strongly typed languages are slower for prototyping is driven by unfamiliarity with the tool. | | |
| ▲ | ShinTakuya 5 hours ago | parent | next [-] | | I didn't say anything about strongly typed languages being bad for prototyping. I specifically said Rust is bad for prototyping speed. Lots of high profile cases of Rust being abandoned (Witchbrook comes to mind as an example). There have been lots of posts here about Rust being not the nirvana it's claimed to be for such projects. This one comes to mind https://loglog.games/blog/leaving-rust-gamedev/ I say this as a big fan of Rust. I use it for CLIs, microservice development and more. The borrow checker, traits, enums, etc. are amazing for maintainability, reliability and speed. Fast iteration where you'll want to completely redo a system at the drop of a hat? Rust is a royal pain in the behind. Largely, proponents of Rust who push it for game development have their minds stuck in the solutions space and forget about the problem space. The fact that Rust was even proposed to fix Eve here is a huge example of solutions focused thinking (bad bad bad) because is misunderstands that Eve was never bottlenecked on processing speed of its physics or business logic. | |
| ▲ | nicce 8 hours ago | parent | prev [-] | | Depends on what you do. For prototyping GUIs without well-defined framerwork, Rust is terrible. TypeScript wins completely. For back-ends, not so clear, since it is easier to write the intent there and even prototype must be somewhat correct, and TS is not as explicit as Rust is. |
|
|
|
|
|
| ▲ | aunty_helen 21 hours ago | parent | prev | next [-] |
| I’ve been doing this on a large system I’m building. Anything that takes longer than an hour to run, processes a high rate of events (maybe >5/s averaged over a day) or has downstream gpu waiting for it. Python + tests cross compiled to rust has huge benefits for memory footprint and secondly cpu. It’s allowing me to achieve wonders on a small amount of hardware. |
|
| ▲ | tacomagick a day ago | parent | prev | next [-] |
| Ladybird situation is wild... |
| |
|
| ▲ | throwitaway222 a day ago | parent | prev [-] |
| Second this but with Go |
| |
| ▲ | andrewjf a day ago | parent [-] | | Why choose a second rate backwoods language if you could choose one that actually has guardrails for AI with an actual functioning type system? Half joking. | | |
| ▲ | angch 10 hours ago | parent [-] | | Stackless channels --> Go channels. Stackless tasklets --> Goroutines. |
|
|