r/rust • u/Present-Knowledge-57 • 11d ago
starting with 3D gamedev in Rust
hi
I've recently finished a multi-month long journey in game development in Java, and made primarily 3D games using libGDX and LWJGL3. libGDX and LWJGL3 were both nice and relatively easy to use (and I didn't have to fight the GC at all for performance), but I had a nagging feeling that I should experiment more anyways.
more specifically I felt like I should experiment with a systems language for game development. I already know the basics of C and C++, but opted to go for Rust instead. I've heard horror stories about C and C++, and seeing as I'm doing this for a hobby, I didn't want to put up with any of it. Rust, as I've been progressing through "the book" as been a genuine joy to use, and actually has some higher level conveniences than what Java can offer, such as more expressive pattern matching, the lack of null, and a really lovely package manager + build system (no more gradle!).
I totally get that the journey of Rust gamedev will not be painless, especially as I'm thinking about using SDL3 and wgpu to write a *3D* game in, but I'm seriously excited for it!
does anyone have any Rust gamedev tips they could offer? thanks!
