3 ms·
Game logic can then be implemented in a safe, "clean" language where game designers can't break the underlying game engine. It's also partly due to C++ being t
by mhh__ 7y ago
Game logic can then be implemented in a safe, "clean" language where game designers can't break the underlying game engine.
It's also partly due to C++ being the Lingua Franca of game development - if it were a slightly less complicated/difficult to deploy language you could use both (I have built a toy GUI app that live compiles D code into an object file, and calls an entry point with a nice OOP interface into a made up data structure, it worked pretty well but I don't know much about games so I don't have much use for it). C++ is also ridiculously slow to compile (at it's beautiful worst) so having AI logic (say) in the main codebase is a bit of an issue for designers.
- k__ 7y agoI also saw a Rust game engine using a scriping language that leans heavily on Rust concepts. I think the scripting language was called Dyon.