自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Rust 0.10 發(fā)布,Mozilla 新的編程語言

開發(fā) 前端
Mozilla 目前正在開發(fā)一個新的編程語言,名為“Rust”,由web語言的領(lǐng)軍人物Brendan Eich(js之父),Dave Herman以及Mozilla公司的Graydon Hoare 合力開發(fā)。

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ā)行說明。

源碼下載:

  1. * http://static.rust-lang.org/dist/rust-0.10.tar.gz  
  2.   http://static.rust-lang.org/dist/rust-0.10.tar.gz.asc  
  3.   SHA256 (of .tar.gz):  
  4.   c72cfbbf03016804a81d7b68e8258ffaf018f8f5a25550ad64571ce6c2642cf9  
  5.  
  6. Windows installer  
  7.  
  8. * http://static.rust-lang.org/dist/rust-0.10-install.exe  
  9.   http://static.rust-lang.org/dist/rust-0.10-install.exe.asc  
  10.   SHA256 (of .exe):  
  11.   ee7ea67845f5dd3b545b225135cca21fa5786baef4ab03f9f996f2e72bf40c6e  
  12.  
  13. Linux binary tarballs  
  14.  
  15. * http://static.rust-lang.org/dist/rust-0.10-x86_64-unknown-linux-gnu.tar.gz  
  16.   http://static.rust-lang.org/dist/rust-0.10-x86_64-unknown-linux-gnu.tar.gz.asc  
  17.   SHA256 (of .tar.gz):  
  18.   e5d6d490beee3c8f2d284f62e730193a92080d4cdf46bf972a8ddbec5bc16045  
  19.  
  20. * http://static.rust-lang.org/dist/rust-0.10-i686-unknown-linux-gnu.tar.gz  
  21.   http://static.rust-lang.org/dist/rust-0.10-i686-unknown-linux-gnu.tar.gz.asc  
  22.   SHA256 (of .tar.gz):  
  23.   7e17912b23dc790ca8ff3272500beba41afc9a1cd923bbf7a606e7d21d3ea89a  
  24.  
  25. Mac OS X binary installers  
  26.  
  27. * http://static.rust-lang.org/dist/rust-0.10-x86_64-apple-darwin.pkg  
  28.   http://static.rust-lang.org/dist/rust-0.10-x86_64-apple-darwin.pkg.asc  
  29.   SHA256 (of .pkg):  
  30.   332253023b8f641b6d0b21289a1542521d83d1e77c6aa4d1a9b94c2927769407  
  31.  
  32. * http://static.rust-lang.org/dist/rust-0.10-i686-apple-darwin.pkg  
  33.   http://static.rust-lang.org/dist/rust-0.10-i686-apple-darwin.pkg.asc  
  34.   SHA256 (of .pkg):  
  35.   26b5630083afd2286526128158e9d83fb9d4b7d965d9d89e6c6cf536105ed756  
  36.  
  37. Mac OS X binary tarballs  
  38.  
  39. * http://static.rust-lang.org/dist/rust-0.10-x86_64-apple-darwin.tar.gz  
  40.   http://static.rust-lang.org/dist/rust-0.10-x86_64-apple-darwin.tar.gz.asc  
  41.   SHA256 (of .tar.gz):  
  42.   ad0ad37886a43f0817f8115ae4e5daf17912fc31d258ebf79a73647bcc5f4eb8  
  43.  
  44. * http://static.rust-lang.org/dist/rust-0.10-i686-apple-darwin.tar.gz  
  45.   http://static.rust-lang.org/dist/rust-0.10-i686-apple-darwin.tar.gz.asc  
  46.   SHA256 (of .tar.gz):  
  47.   96c51f784e0f5c13d02c1fa4f4ad35936c0396afd8e2217b07f9708be08e06bb 

Mozilla 目前正在開發(fā)一個新的編程語言,名為“Rust”,由web語言的領(lǐng)軍人物Brendan Eich(js之父),Dave Herman以及Mozilla公司的Graydon Hoare 合力開發(fā)。

創(chuàng)建這個新語言的目的是為了解決一個很頑疾的問題:軟件的演進(jìn)速度大大低于硬件的演進(jìn),軟件在語言級別上無法真正利用多核計算帶來的性能提升。Rust是針對多核體系提出的語言,并且吸收一些其他動態(tài)語言的重要特性,比如不需要管理內(nèi)存,比如不會出現(xiàn)Null指針等等。

Rust 最早是在今年7月的Mozilla的社區(qū)峰會上公之于眾的,當(dāng)時就有人問以后是否會用Rust重寫Firefox,Brenda說希望如此。Rust目前還處于初期的開發(fā)階段,開發(fā)團(tuán)隊目前并不想花太多的時間在語法上,不過他們還是提供了一小段代碼:

  1. iter pairs() -> tup(int,int) {  
  2.  
  3.  let int i = 0;  
  4.  
  5.  let int j = 0;  
  6.  
  7.   while (i < 10) {  
  8.  
  9.     put tup(i, j);  
  10.  
  11.     i += 1;  
  12.  
  13.     j += i;  
  14.  
  15.   }  
  16.  
  17. }  
  18.  
  19. fn main() {  
  20.  
  21.   let int i = 10;  
  22.  
  23.   let int j = 0;  
  24.  
  25.   for each (tup(int,int) p in pairs()) {  
  26.  
  27.       log p._0;  
  28.  
  29.       log p._1;  
  30.  
  31.       check (p._0 + 10 == i);  
  32.  
  33.       i += 1;  
  34.  
  35.       j = p._1;  
  36.  
  37.     }  
  38.  
  39.   check(j == 45);  
  40.  
  41. }  

原文鏈接:http://www.oschina.net/news/50408/rust-0-10-released

【編輯推薦】

  1. Mozilla的asm.js:利用JavaScript改進(jìn)Web性能
  2. 開門迎新客:IBM花10億美元收購安全廠商Trusteer
  3. Mozilla試圖重新發(fā)明瀏覽器
  4. Mozilla首席技術(shù)官Eich:非開源瀏覽器不可信!
  5. Mozilla Firefox 26.0 Beta 10 發(fā)布

 

責(zé)任編輯:林師授 來源: 中國開源社區(qū)
相關(guān)推薦

2021-03-23 14:50:16

編程語言Rust漏洞

2022-04-26 09:23:07

Hare編程語言C

2022-03-02 09:49:14

Rust編程語言

2024-03-01 20:16:03

GoRust語言

2023-07-01 19:58:33

Rust

2023-12-15 14:38:00

GoRust編程語言

2024-06-24 13:30:07

2024-09-09 16:25:09

2020-09-01 07:50:21

Rust 編程語言

2018-12-29 09:45:28

Linux編程語言命令

2024-07-05 09:00:00

編程語言Rust開發(fā)

2015-08-21 09:46:44

GitHub編程語言

2012-10-08 09:34:49

MozillaFirefoxWindows 8

2010-01-22 11:10:21

MozillaFirefox 3.6

2011-03-22 09:28:23

Firefox 4發(fā)布Mozilla

2021-05-17 10:35:22

編程技能開發(fā)

2023-03-08 08:28:12

編程語言項目Rust

2009-05-13 15:38:45

微軟并行語言Axum

2013-12-04 16:21:57

FirefoxFirefox 26

2010-01-06 09:39:44

Mozilla FirFirefox
點贊
收藏

51CTO技術(shù)棧公眾號