← Back to context

Comment by pcwalton

9 months ago

Rust, in my view, is easy to justify over C++: the Cargo ecosystem makes high-quality libraries accessible, you'll spend less time debugging crashes, the language is more modern so you don't have to deal with stuff like header files, etc.

Compared to a scripting language like Lua, the benefits of Rust are more situational. Rust code runs a lot faster, and it takes better advantage of parallelism. It also has no garbage collection overhead. Does that outweigh the downsides? It's entirely dependent on your game and which logic in particular you're talking about.