Attilax Summary of atitit.rust language characteristics
1 . The purpose of this new language is to solve a stubborn problem: software evolves much less rapidly than hardware, and software cannot really take advantage of the performance gains of multicore computing at the language level. 1
2 . no Null pointers appear, etc. 1
2 . 1.1. Rust 1.1 Stable version update content 1
2 . 1.2. Rust 1.2 Beta update content 2
3 . RAII 2
No Data competition (DATA RACE) ... rust 3
4 . is based on the combination of inheritance,rust can be based on the combination of inheritance,Trait is a key role in the Rust generics. 3
5 . Ref 3
1.The purpose of this new language is to solve a stubborn problem: software evolves much less rapidly than hardware, and software cannot really take advantage of the performance gains of multicore computing at the language level.
Rust is a language for multicore systems and absorbs some of the important features of other dynamic languages, such as the need to manage memory, such as
Rust was first unveiled at the 7- month- old Mozilla Community Summit, when people asked if they would use Rust rewrite Firefox , Brenda say I hope so. Rust is still at the beginning
author:: Nickname:Old Wow's claws( Full Name::AttilaxAkbar Al Rapanui Attilaksachanui) Kanji Name:Ayron, email:[email protected]
Reprint please indicate source: http://www.cnblogs.com/attilax/
2.no Null pointers appear, etc.
2.1.1.Rust 1.1 Stable version update content
·
The compilation speed is increased by 32%relative to the 1.0 version.
·
·
Compiler prompt information is more perfect, parameter --explain can provide more detailed compilation error types
·
·
a new batch of stable APIs has been added to the module std::fs
·
·
Initial support for static link C Run-time library MUSL,Linux Environment compiled program can achieve zero dependency (can no longer rely on glibc )
·
·
Cargo Add new command Cargo RUSTC, supports passing arbitrary parameters to RUSTC
·
2.1.2.Rust 1.2 Beta update content
·
Compile speed on the basis of the 1.1 version and upgrade the 30%
·
·
Parallel compilation can be used, the default is not turned on, if enabled, can also increase the 33% compilation speed (data from 4 - core compiled RUSTC)
·
·
Cargo Performance Boost ( up to ten times faster when compiling Servo ), shared dependency cache across multiple packages
·
·
Initial support for MSVC (Microsoft Visual C) does not require MINGW/MYSYS/GCC infuture Windows environments
·
Rust 1.2 Stable will be released in six weeks and will be released 1.3 Beta
3.RAII
but the rust system does not rely on GC, but at compile time through RAII (Resource acquisition is initialization) for automatic resource release,
3.1.No Data competition (Race) ...no competing concurrency, rust ensures data security in concurrent programming
, there can be more than one read operation at a time, or a write operation is allowed to access the shared data.
J How Ava is introduced, new add-on expands existing collection classes, and more.
4.is based on the combination of inheritance,rust can be based on the combination of inheritance,Trait is a key role in the Rust generics.
Compared to the go language, the go language is too simple, too small, go for enterprise software development, similar to the previous Java, and the go language is driven by Google, if the interests of the company and the community to deal with conflicts in the future? And rust is driven by the nonprofit organization Mozilla.
5.Ref
Rust Language _ Baidu Encyclopedia . htm
Rust Language Introduction - de dao jdon.htm
Attilax Summary of Atitit.rust language characteristics