Re:Rust-Doom: A Doom renderer in Rust, with no unsafe code
by kibwen on Friday October 30, 2015 @12:33PM
(#10478820)
The Rust ecosystem is still building up a lot of the libraries to make game programming practical. A lot of this is happening under the auspices of the "Piston" organization on Github: https://github.com/PistonDevelopers/ . Piston itself is sort-of-a-game-engine, sort-of-a-collection-of-modular-game-related-libraries.
Meanwhile, Rust also has the Glium library for OpenGL programming, which is apparently so good that it makes OpenGL programmers froth at the mouth (I've never done OpenGL programming myself, but the praise is universal among all my graphics-programming friends).
Re:Rust-Doom: A Doom renderer in Rust, with no unsafe code
by Tyr42 on Friday October 30, 2015 @11:13AM
(#10478287)
I think you should check out Arcaders.rs.
There are still proposals for some sort of inheritance to be added, to make it easier to do the DOM, which might (or might not) be useful for an entity system.
Also, you'd likely want to be using Rust 1.4. It just came out this week.
Re:Rust-Doom: A Doom renderer in Rust, with no unsafe code
by CyberDildonics on Friday October 30, 2015 @02:59PM
(#10479803)
Because Rust uses LLVM to optimize the gap between C++ should be small enough that architecting for memory allocation and cache locality should FAR outweigh the difference in language implementations.
If you look at things like Ogre and Box2D, they can likely be sped up by a factor of 10x in either language. (not total fps in ogre, just the engine part).
Are things at the point where you could reasonable write a modern 3D engine using Rust 1.0? [1] What would be the tradeoffs at this point vs. C++?
[1] Ignoring all the tooling involved with art, music, etc.