Rust 1.7 發布,安全性并發性得以增強
Rust 1.7 發布了,Rust 是 Mozilla 的一個新的編程語言,由web語言的領軍人物Brendan Eich(js之父),Dave Herman以及Mozilla公司的Graydon Hoare 合力開發。
創建這個新語言的目的是為了解決一個很頑疾的問題:軟件的演進速度大大低于硬件的演進,軟件在語言級別上無法真正利用多核計算帶來的性能提升。Rust是針對多核體系提出的語言,并且吸收一些其他動態語言的重要特性,比如不需要管理內存,比如不會出現Null指針等等。
該語言在此次更新中增強了其安全性和并發性,你值得嘗試,更新記錄如下:
<[T]>::clone_from_slice(), an efficient way to copy the data from one slice and put it into another slice.Various convenience methods on
Ipv4AddrandIpv6Addr, such asis_loopback(), which returnstrueorfalseif the address is a loopback address according to RFC 6890.Various improvements to
CString, used for FFI.checked, saturated, and overflowing operations for various numeric types. These aren’t counted in that ‘40’ number above, because there are a lot of them, but they all do the same thing.
詳情請看:https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-170-2016-03-03
來自: http://www.oschina.net//news/71211/announcing-rust-1-7