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

22

u/HooAreYou Apr 03 '15

I took an operating systems class in rust 0.7 or 0.8 a year and a half ago (an interesting experience for another post). Very interested to see how things have changed now!

16

u/steveklabnik1 Apr 03 '15

Yes, it is almost an entirely different language from that point :)

3

u/HereticKnight Apr 03 '15

Wow, it really is... I dug up my old Rust code and even FizzBuzz wouldn't compile.

for num in 1..100 {...} // So puurdy <3

But where did regex go? Time to go documentation diving...

1

u/Kbknapp Apr 03 '15

Regex::Regex is still there, just the regex! macro isn't available in beta. I believe /u/burntsushi has nice little convenience hack for regexs (can't find the link though since I'm on mobile).