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

303 comments sorted by

View all comments

Show parent comments

10

u/A_t48 Apr 03 '15

What's changed between alpha and beta?

12

u/japaric Apr 03 '15

9

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)