Mozilla 的编程语言Rust编译器安装

关于Rust,官网给的介绍:Rust is a systems programming language with a focus on type safety, memory safety, concurrency and performance. It is intended for writing large, high performance applications while preventing several classes of errors commonly found in languages like C++. Rust has a sophisticated memory model that enables many of the efficient data structures used in C++ while disallowing invalid memory access that would otherwise cause segmentation faults. Like other systems languages it is statically typed and compiled ahead of time.

Mozilla 目前正在开发一个新的编程语言,名为“Rust”,由web语言的领军人物Brendan Eich(js之父),Dave Herman以及Mozilla公司的Graydon Hoare 合力开发。
创建这个新语言的目的是为了解决一个很顽疾的问题:软件的演进速度大大低于硬件的演进,软件在语言级别上无法真正利用多核计算带来的性能提升。Rust是针对多核体系提出的语言,并且吸收一些其他动态语言的重要特性,比如不需要管理内存,比如不会出现Null指针等等。

Rust语言教程 | Rust官网 | RustForWin0.4

$ wget http://dl.rust-lang.org/dist/rust-0.4.tar.gz
$ tar -xzf rust-0.3.tar.gz
$ cd rust-0.3
$ ./configure
$ make && make install

安装提示木有权限,那么记得sudo。