Rust編程 第2版(影印版)
出版時(shí)間:2022年09月
頁(yè)數(shù):711
“對(duì)于具有其他系統(tǒng)編程語言經(jīng)驗(yàn)的人來說,本書會(huì)讓你很快熟悉Rust。作者通過大量代碼示例和項(xiàng)目闡明了Rust的工作原理?!?br />
一Carol Nichols
《The Rust Programming Language》合著者,Integer 32, LLC的聯(lián)合創(chuàng)始人
系統(tǒng)編程為全世界的計(jì)算提供了基礎(chǔ)。開發(fā)性能敏感代碼需要一種編程語言,能夠讓程序員掌控內(nèi)存、處理器時(shí)間以及其他系統(tǒng)資源。Rust系統(tǒng)編程語言將這種控制力與現(xiàn)代類型的系統(tǒng)相結(jié)合,可以捕捉到從內(nèi)存管理錯(cuò)誤到線程間數(shù)據(jù)競(jìng)爭(zhēng)等各種常見的錯(cuò)誤。
通過這本實(shí)用指南,有經(jīng)驗(yàn)的系統(tǒng)程序員將學(xué)會(huì)如何成功地使用 Rust彌合性能和安全之間的差距。Jim Blandy、Jason Orendorff和 Leonora Tindall展示了Rust的特性如何通過將可預(yù)測(cè)的性能與內(nèi)存安全和可信賴的并發(fā)性結(jié)合起來,使程序員得以控制內(nèi)存消耗和處理器的使用。
本書探討了:
● Rust的基本數(shù)據(jù)類型以及所有權(quán)和借用的核心概念
● 語言基礎(chǔ)知識(shí),包括錯(cuò)誤處理、箱(crates)、模塊、結(jié)構(gòu)體和枚舉
● 如何使用特質(zhì)和泛型編寫靈活高效的代碼
● Rust的關(guān)鍵工具:閉包、迭代器和異步編程
● 集合、字符串和文本、輸入和輸出、并發(fā)、宏、不安全代碼以及外部函數(shù)接口
書名:Rust編程 第2版(影印版)
國(guó)內(nèi)出版社:東南大學(xué)出版社
出版時(shí)間:2022年09月
頁(yè)數(shù):711
書號(hào):978-7-5766-0223-4
原版書書名:Programming Rust, 2e
原版書出版商:O'Reilly Media
Jim Blandy
Jim Blandy,Mozilla軟件工程師,擁有近40年編程經(jīng)驗(yàn)和30年自由軟件開發(fā)經(jīng)驗(yàn),是Subversion版本控制系統(tǒng)最初的設(shè)計(jì)者之一,曾在GNU Emacs、GNU Debugger等項(xiàng)目上工作。
Jason Orendorff
Jason Orendorff,GitHub工程師,專注開發(fā)尚未公開的Rust項(xiàng)目,曾在Mozilla參與Java Script引擎SpiderMonkey的開發(fā)。興趣廣泛,包括:語法學(xué)、烘焙、時(shí)間旅行,以及幫助人們理解復(fù)雜主題。
Leonora Tindall
Leonora Tindall是一名類型系統(tǒng)愛好者和軟件工程師,他使用Rust、 Elixir和其他高級(jí)語言在醫(yī)療保健和數(shù)據(jù)所有權(quán)等影響力較大的領(lǐng)域構(gòu)建穩(wěn)健且有彈性的系統(tǒng)軟件。
The animal on the cover of Programming Rust is a Montagu’s crab (Xantho hydrophilus). Montagu’s crab has been found in the northeastern Atlantic Ocean and in the Mediterranean Sea. It lives under rocks and boulders during low tide. If one is exposed when a rock is lifted, it will aggressively hold its pincers up and spread them wide open to make itself appear bigger.
This robust-looking crab has a muscly appearance with a broad carapace about 70 mm wide. The edge of the carapace is furrowed, and the color is yellowish or reddishbrown. It has 10 legs: the front pair (the chelipeds) are equal in size with black-tipped claws or pincers; then there are three pairs of walking legs that are stout and relatively
short; and the last pair of legs are for swimming. They walk and swim sideways.
This crab is an omnivore. They eat mostly algae, snails, and crabs of other species. They are mostly active at night. Egg-bearing females are found from March through July, and the larvae are present in plankton for most of the summer.
Many of the animals on O’Reilly covers are endangered; all of them are important to the world.