- Hands-On Data Structures and Algorithms with Rust
- Claus Matzinger
- 171字
- 2021-07-02 14:11:44
Summary
Rust is a multi-paradigm language with exceptional concepts: the language emphasizes data and behavior separation with structures and traits, uses macros for metaprogramming, and leverages explicit ownership of memory to determine variable lifetimes. Knowing these lifetimes removes the need for runtime garbage collection and, at the same time, greatly facilitates concurrency by allowing mutable borrowing only in certain circumstances.
Consequently, threads and other asynchronous processes can change variables only when they have mutable ownership of them, something that is mostly enforced at compile time, but can also be done at runtime! Therefore, safe Rust is effectively free of data races.
Another strong point of the Rust ecosystem is its diverse and welcoming community. Sponsored by Mozilla, development is guided by RFCs, events are organized and centrally advertised, and learning resources are available online. Another way to be a part of the ecosystem is to contribute packages to crates.io (https://crates.io/), Rust's public package repository. Read the next chapter to find out more about cargo, Rust's universal tool to build and package.
- Hands-On Data Structures and Algorithms with Rust
- Building Computer Vision Projects with OpenCV 4 and C++
- 數(shù)據(jù)挖掘原理與實(shí)踐
- Access 2007數(shù)據(jù)庫(kù)應(yīng)用上機(jī)指導(dǎo)與練習(xí)
- Hadoop與大數(shù)據(jù)挖掘(第2版)
- Starling Game Development Essentials
- Spark大數(shù)據(jù)分析實(shí)戰(zhàn)
- “互聯(lián)網(wǎng)+”時(shí)代立體化計(jì)算機(jī)組
- Flutter Projects
- 重復(fù)數(shù)據(jù)刪除技術(shù):面向大數(shù)據(jù)管理的縮減技術(shù)
- 數(shù)據(jù)庫(kù)應(yīng)用系統(tǒng)開(kāi)發(fā)實(shí)例
- 從實(shí)踐中學(xué)習(xí)sqlmap數(shù)據(jù)庫(kù)注入測(cè)試
- 云計(jì)算
- 數(shù)據(jù)中臺(tái)實(shí)戰(zhàn):手把手教你搭建數(shù)據(jù)中臺(tái)
- Oracle 內(nèi)核技術(shù)揭密