新聞中心
Rust 0.10 發(fā)布,此版本被認(rèn)為是 ALPHA 版本,所以大家謹(jǐn)慎使用。此版本分離了 libextra 庫;引入了 cross-crate 語法擴(kuò)展和宏;改進(jìn)了 Deref trait 指針;改進(jìn)了編譯器外的 I/O 錯誤處理。此版本看似引入了新 RFC 進(jìn)程,但是同時也支持二進(jìn)制安裝。更多內(nèi)容請看發(fā)行說明。

創(chuàng)新互聯(lián)基于成都重慶香港及美國等地區(qū)分布式IDC機(jī)房數(shù)據(jù)中心構(gòu)建的電信大帶寬,聯(lián)通大帶寬,移動大帶寬,多線BGP大帶寬租用,是為眾多客戶提供專業(yè)服務(wù)器托管報(bào)價,主機(jī)托管價格性價比高,為金融證券行業(yè)服務(wù)器托管,ai人工智能服務(wù)器托管提供bgp線路100M獨(dú)享,G口帶寬及機(jī)柜租用的專業(yè)成都idc公司。
源碼下載:
- * http://static.rust-lang.org/dist/rust-0.10.tar.gz
- http://static.rust-lang.org/dist/rust-0.10.tar.gz.asc
- SHA256 (of .tar.gz):
- c72cfbbf03016804a81d7b68e8258ffaf018f8f5a25550ad64571ce6c2642cf9
- Windows installer
- * http://static.rust-lang.org/dist/rust-0.10-install.exe
- http://static.rust-lang.org/dist/rust-0.10-install.exe.asc
- SHA256 (of .exe):
- ee7ea67845f5dd3b545b225135cca21fa5786baef4ab03f9f996f2e72bf40c6e
- Linux binary tarballs
- * http://static.rust-lang.org/dist/rust-0.10-x86_64-unknown-linux-gnu.tar.gz
- http://static.rust-lang.org/dist/rust-0.10-x86_64-unknown-linux-gnu.tar.gz.asc
- SHA256 (of .tar.gz):
- e5d6d490beee3c8f2d284f62e730193a92080d4cdf46bf972a8ddbec5bc16045
- * http://static.rust-lang.org/dist/rust-0.10-i686-unknown-linux-gnu.tar.gz
- http://static.rust-lang.org/dist/rust-0.10-i686-unknown-linux-gnu.tar.gz.asc
- SHA256 (of .tar.gz):
- 7e17912b23dc790ca8ff3272500beba41afc9a1cd923bbf7a606e7d21d3ea89a
- Mac OS X binary installers
- * http://static.rust-lang.org/dist/rust-0.10-x86_64-apple-darwin.pkg
- http://static.rust-lang.org/dist/rust-0.10-x86_64-apple-darwin.pkg.asc
- SHA256 (of .pkg):
- 332253023b8f641b6d0b21289a1542521d83d1e77c6aa4d1a9b94c2927769407
- * http://static.rust-lang.org/dist/rust-0.10-i686-apple-darwin.pkg
- http://static.rust-lang.org/dist/rust-0.10-i686-apple-darwin.pkg.asc
- SHA256 (of .pkg):
- 26b5630083afd2286526128158e9d83fb9d4b7d965d9d89e6c6cf536105ed756
- Mac OS X binary tarballs
- * http://static.rust-lang.org/dist/rust-0.10-x86_64-apple-darwin.tar.gz
- http://static.rust-lang.org/dist/rust-0.10-x86_64-apple-darwin.tar.gz.asc
- SHA256 (of .tar.gz):
- ad0ad37886a43f0817f8115ae4e5daf17912fc31d258ebf79a73647bcc5f4eb8
- * http://static.rust-lang.org/dist/rust-0.10-i686-apple-darwin.tar.gz
- http://static.rust-lang.org/dist/rust-0.10-i686-apple-darwin.tar.gz.asc
- SHA256 (of .tar.gz):
- 96c51f784e0f5c13d02c1fa4f4ad35936c0396afd8e2217b07f9708be08e06bb
Mozilla 目前正在開發(fā)一個新的編程語言,名為“Rust”,由web語言的領(lǐng)軍人物Brendan Eich(js之父),Dave Herman以及Mozilla公司的Graydon Hoare 合力開發(fā)。
創(chuàng)建這個新語言的目的是為了解決一個很頑疾的問題:軟件的演進(jìn)速度大大低于硬件的演進(jìn),軟件在語言級別上無法真正利用多核計(jì)算帶來的性能提升。Rust是針對多核體系提出的語言,并且吸收一些其他動態(tài)語言的重要特性,比如不需要管理內(nèi)存,比如不會出現(xiàn)Null指針等等。
Rust 最早是在今年7月的Mozilla的社區(qū)峰會上公之于眾的,當(dāng)時就有人問以后是否會用Rust重寫Firefox,Brenda說希望如此。Rust目前還處于初期的開發(fā)階段,開發(fā)團(tuán)隊(duì)目前并不想花太多的時間在語法上,不過他們還是提供了一小段代碼:
- iter pairs() -> tup(int,int) {
- let int i = 0;
- let int j = 0;
- while (i < 10) {
- put tup(i, j);
- i += 1;
- j += i;
- }
- }
- fn main() {
- let int i = 10;
- let int j = 0;
- for each (tup(int,int) p in pairs()) {
- log p._0;
- log p._1;
- check (p._0 + 10 == i);
- i += 1;
- j = p._1;
- }
- check(j == 45);
- }
原文鏈接:http://www.oschina.net/news/50408/rust-0-10-released
網(wǎng)站欄目:Rust0.10發(fā)布,Mozilla新的編程語言
鏈接分享:http://fisionsoft.com.cn/article/dhejsoj.html


咨詢
建站咨詢
