Mozilla releases Rust 0.1
Posted: Thu Feb 09, 2012 12:27 pm
WOW!!!
Mozilla releases Rust 0.1, the language that will eventually usurp Firefox’s C++
http://www.extremetech.com/computing/11 ... firefoxs-c
Mozilla releases Rust 0.1, the language that will eventually usurp Firefox’s C++
http://www.extremetech.com/computing/11 ... firefoxs-c
A bit more about the language itself: Rust is a compiled, statically-typed, object-oriented programming language (and objects are immutable by default). The compiler is supported on Windows, Linux, and Mac. Feature-wise, Rust intentionally avoids any novel ideas, and instead builds upon existing, known features that are present in other languages. Syntax-wise, Rust uses curly braces {} like C, C++, or JavaScript, but as you can see in the code block below, the syntax is actually quite funky.
Code: Select all
use std;
fn main(args: [str]) {
std::io::println("hello world from '" + args[0] + "'!");
}