After many years of waiting, version 1.0 of the Rust programming language has finally been released. The Rust home page describes Rust as "a systems programming language that runs blazingly fast, prevents nearly all segfaults, and guarantees thread safety."
Thanks to the hard work of noted Rust core team members Yehuda Katz and Steve Klabnik, Rust is now poised to become a serious competitor to established systems programming languages like C and C++.
The announcement has brought much jubilation to the followers of Rust, who have been eagerly awaiting this milestone release for so long. With only 1,940 open issues and over 11,500 issues already closed, Rust is finally ready for users to build fantastically reliable software systems using it.
(Score: 3, Funny) by Marand on Saturday May 16 2015, @09:06AM
There's also Debian's benchmark game [debian.org], for whatever it's worth. Definitely slower than C/C++, but like you said it's somewhere in the Go/Haskell/Java (and other JVM languages) area. The trade-off might be worth it for the safety if it proves itself to actually be safer, though in that speed range there's already plenty of competition with similar goals but different approaches.
Damn shame about the syntax, though. Out of curiosity I started looking at some of the Rust files in the only big project I know of using it, Servo ( https://github.com/servo/servo [github.com] ), and I swear, there are lines in it that make Perl look readable. I liked this function declaration:
pub fn match_ty_unwrap<'a>(ty: &'a Ty, segments: &[&str]) -> Option<&'a [P<Ty>]> {
I'm sure it makes sense to someone familiar with the language, but my general impression so far from poking around random Servo files is "the readability of Perl meets the conciseness of Java." What's not to love?
(Score: 2) by TGV on Saturday May 16 2015, @09:37AM
Declaration syntax is sure ugly, but I sort of get it: it's pretty much C++/Java but with colons. The passing of &mut everywhere. I don't understand why it can't get that information from the function declaration. Is it also legal to call the same function without &mut, and with a different effect? There is something in that language that isn't explained properly in all those examples and FAQs.
(Score: 0) by Anonymous Coward on Saturday May 16 2015, @01:06PM
Why did they use the keyword "mut"? It makes me think of a dirty dog pissing all over the place because its penis is broken from having spent years on the street.