圖書標籤:
发表于2025-01-11
Programming Rust, 2nd Edition pdf epub mobi txt 電子書 下載 2025
The Rust programming language offers the rare and valuable combination of statically verified memory safety and low-level control. Imagine C++ but without dangling pointers, null pointer dereferences, leaks, or buffer overruns. With this practical guide, systems programmers will understand Rust’s rules clearly and economically. You’ll learn how to express programs that Rust can prove are free of a broad class of common errors.
Rust brings the benefits of an expressive modern type system to systems programming. Authors Jim Blandy and Jason Orendorff demonstrate how Rust’s features put programmers in control over memory consumption and processor use, combining predictable performance with memory safety and trustworthy concurrency.
You’ll learn:
How to write fast, safe, concurrent programs in Rust
Rust’s rules for managing memory efficiently, including ownership, borrowing, moves, and lifetimes
How to design interfaces that fit well into the Rust ecosystem
Rust’s all-purpose Cargo tool for building, testing, and managing Rust packages
High-level features like traits, generics, closures, and iterators that make Rust productive and flexible
Jim Blandy has been programming since 1981, and writing Free software since 1990. He has been the maintainer of GNU Emacs and GNU Guile, and a maintainer of GDB, the GNU Debugger. He is one of the original designers of the Subversion version control system. Jim now works on Firefox’s web developer tools for Mozilla.
第一遍簡略瀏覽,第二次打算細讀部分坑的講解和 cocurrency, async 相關內容。和The Rust Programming Language相比更切入痛點,更適閤有一定軟件開發經驗的讀者。內存分布圖示很清晰、很多例子講的都是平常容易踩到的坑,強烈推薦!想深入建議搭配 Rust Nomicon 和 Jon Gjengset 的 Crust of Rust 專欄等食用。 P.S. 我已經被第11章 iterators 的各種語法糖饞哭瞭,C++ 啥時能把各大編譯器的 ranges 搞起來?
評分比 The Rust Programming Language 要更進階一些的書,內容組織方式也比簡單羅列所有語言特性稍微更有趣一點,對於已經有其他編程經驗的讀者更友好一些。
評分c/cpp程序員的福音,很久沒有讀過這麼棒的書瞭
評分如果 Rust 的書隻看一本的話,我選這本(2021)
評分應該早點看這本
Programming Rust, 2nd Edition pdf epub mobi txt 電子書 下載 2025