Programming Rust: Fast, Safe Systems Development
暫譯: Programming Rust:快速且安全的系統開發
Blandy, Jim, Orendorff, Jason, Tindall, Leonora F. S.
相關主題
商品描述
Fully updated for Rust's 2024 edition, this book introduces the latest language advancements while covering essential topics like generics, async programming, and C interoperability. Whether you're working on low-latency systems, embedded software, or multithreaded applications, this edition equips you with the knowledge to write efficient, production-ready Rust code.
- Learn Rust's core principles, including ownership, borrowing, and lifetimes
- Write safe, efficient concurrent code without data races
- Use powerful features like macros, closures, and async programming
- Integrate Rust with C and C++ through FFI and unsafe code
- Apply best practices to write performance-critical, memory-safe applications
商品描述(中文翻譯)
Rust 結合了低階控制能力與記憶體安全性,是系統程式設計的理想選擇。本實用指南專為有經驗的程式設計師而寫,協助您在避開資料競爭(data race)與緩衝區溢位(buffer overflow)等常見陷阱的同時,撰寫快速且可靠的程式碼。作者 Jim Blandy、Jason Orendorff 與 Leonora Tindall 將說明 Rust 在所有權(ownership)、借用(borrowing)與並行(concurrency)方面的獨特方法,協助您建構安全且高效能的應用程式。
本書針對 Rust 2024 edition 全面更新,介紹最新的語言功能,同時涵蓋泛型(generics)、非同步程式設計(async programming)與 C 互通性(C interoperability)等重要主題。無論您正在開發低延遲系統、嵌入式軟體,或多執行緒應用程式,本版都能提供您撰寫高效率、可投入正式環境使用之 Rust 程式碼所需的知識。
• 學習 Rust 的核心原則,包括所有權、借用與生命週期(lifetimes)
• 撰寫安全且高效率的並行程式碼,避免資料競爭
• 使用巨集(macros)、閉包(closures)與非同步程式設計等強大功能
• 透過 FFI 與 unsafe code,整合 Rust、C 及 C++
• 運用最佳實務,撰寫效能關鍵且具記憶體安全性的應用程式