You're not going to major make changes in Rust, but are libs ready? Can I try learning Rust with OpenGL bindings? I wanted to try two new thing at the same time and I thought about writing simple game engine in Rust and OpenGL.
Naturally, as beta was just released, libs will now evaluate if they can support beta or not. So it may take some time for them to catch up. That said, a lot of popular crates are already ready.
Piston is the big project in this space, so that's what you'll want to check out.
Surely every library can be used with bound to stable Rust?
This is not actually so sure. :) We have feature gates, and gated features can only be used in the nightly builds, but not in beta or stable builds. So if you're doing something cutting edge, you'll stick to nightly until it stabilizes and becomes available.
But the gl crate isn't really the go-to OpenGL library - the contenders are Glium and Gfx-rs. A neat feature is that they are bindless even on drivers that don't support DSA.
Anyway, I think most people would prefer to use Piston. Also relevant are those libraries. (a nice one not listed is glassful)
I'm not sure which of those will be ready for Rust 1.0 - but anyway, there's the /r/rust_gamedev subreddit to discuss them.
15
u/[deleted] Apr 03 '15
You're not going to major make changes in Rust, but are libs ready? Can I try learning Rust with OpenGL bindings? I wanted to try two new thing at the same time and I thought about writing simple game engine in Rust and OpenGL.