Rust係由Mozilla主導開發嘅通用、編譯型程式語言。設計準則係「安全、並行、實用」,行到函數式、並行式、程序式同埋物件導向嘅程式設計風格。
Quick Facts 編程範式, 設計者 ...
Close
除咗編譯器同埋標準庫,Rust生態系統仲包括用喺軟件開發嘅額外組件。官方推薦用Rustup,一個Rust工具鏈安裝程序嚟管理呢啲組件。
Cargo
Cargo係Rust嘅軟件包管理器,用嚟下載同構建依賴關係。Cargo仲做咗Clippy同其他Rust組件嘅封裝器。佢要求項目遵循一定嘅目錄結構。[11]
Cargo.toml文件指定咗項目所需嘅依賴同版本嘅要求,話畀Cargo知邊啲版本嘅依賴關係同嗰個包兼容。Cargo預設喺crates.io入面獲取依賴,但Git倉庫同埋本地文件系統入面嘅包都可以作為依賴。[12]
"COPYRIGHT". Rust compiler source repository. 喺2012-12-17搵到.
"The Rust Reference: Appendix: Influences". 原先內容歸檔喺2015-03-26. 喺2015-03-25搵到. Rust is not a particularly original language, with design elements coming from a wide range of sources. Some of these are listed below (including elements that have since been removed): SML, OCaml [...] C++ [...] ML Kit, Cyclone [...] Haskell [...] Newsqueak, Alef, Limbo [...] Erlang [...] Swift [...] Scheme [...] C# [...] Ruby [...] NIL, Hermes
"Note Research: Type System". 2015-02-01. 原先內容歸檔喺2019-02-17. 喺2015-03-25搵到. Papers that have had more or less influence on Rust, or which one might want to consult for inspiration or to understand Rust's background. [...] Region based memory management in Cyclone [...] Safe memory management in Cyclone
"RFC for `if let` expression". 原先內容歸檔喺2016-03-04. 喺2014-12-04搵到. The `if let` construct is based on the precedent set by Swift, which introduced its own `if let` statement.
"Command Optimizations?". 2014-06-26. 原先內容歸檔喺2019-07-08. 喺2014-12-10搵到. I just added the outline of a Result library that lets you use richer error messages. It's like Either except the names are more helpful. The names are inspired by Rust's Result library.
"Uniqueness Types". 2014-08-22. 原著喺2014-12-25歸檔. 喺2014-10-27搵到. They are inspired by linear types, Uniqueness Types in the Clean programming language, and ownership types and borrowed pointers in the Rust programming language.
Lattner, Chris (2014-06-03). "Chris Lattner's Homepage". Chris Lattner. 原先內容歸檔喺2018-12-25. 喺2014-06-03搵到. The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.