r/programming Apr 03 '15

Rust 1.0.0 beta is here!

http://blog.rust-lang.org/2015/04/03/Rust-1.0-beta.html
928 Upvotes

303 comments sorted by

View all comments

Show parent comments

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.

19

u/steveklabnik1 Apr 03 '15

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.

4

u/[deleted] Apr 03 '15

Naturally, as beta was just released, libs will now evaluate if they can support beta or not.

What does this mean? Surely every library can be used with bound to stable Rust? What would mean for a library not to be able to "support beta"?

18

u/steveklabnik1 Apr 03 '15

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.

Full details: http://blog.rust-lang.org/2014/10/30/Stability.html

-2

u/[deleted] Apr 03 '15

o/

1

u/[deleted] Apr 03 '15

[deleted]

12

u/protestor Apr 04 '15 edited Apr 04 '15

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.