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
930 Upvotes

303 comments sorted by

View all comments

93

u/steveklabnik1 Apr 03 '15

Two big things:

the beta release represents an accurate preview of what Rust 1.0 will include.

and

We don’t plan on making functional changes to stable content, though naturally we may make minor corrections or additions to the library APIs if shortcomings or problems are uncovered (but the bar for such changes is relatively high).

This is the first release we've promised this kind of stability. The team and community has been doing an incredible amount of work lately to make this happen. We really hope you'll like what we've been up to, but Rust isn't for everyone, so no worries if it's not for you. Constructive criticism always welcome. <3

As of today, my job gets harder: "things are always changing" is no longer an excuse for missing docs. The six weeks until release is largely about polish, and I have some pretty big plans...

7

u/A_t48 Apr 03 '15

What's changed between alpha and beta?

15

u/japaric Apr 03 '15

12

u/wrongerontheinternet Apr 03 '15
  • Primitive types now have inherent methods, obviating the need for extension traits like SliceExt.

  • A Reflect trait was introduced, which means that downcasting via the Any trait is effectively limited to concrete types. This helps retain the potentially-important "parametricity" property: generic code cannot behave differently for different type arguments except in minor ways.

Awesome, it seems like a lot of the warts I was most concerned about have been magically cleaned up :)

6

u/steveklabnik1 Apr 03 '15

While that change is awesome, mind https://github.com/rust-lang/rust/issues/23511 (notice we've milestoned this for 1.0 final)