Ultimate Rust for Systems Programming

Harmouch, Mahmoud

  • 出版商: Orange Education Pvt Ltd
  • 出版日期: 2024-03-20
  • 售價: $1,850
  • 貴賓價: 9.5$1,758
  • 語言: 英文
  • 頁數: 740
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 8196994737
  • ISBN-13: 9788196994730
  • 相關分類: Rust 語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Building Tomorrow's Systems Today the Rust Way


Book Description

This book is your guide to mastering Rust programming, equipping you with essential skills and insights for efficient system programming. It starts by introducing Rust's significance in the system programming domain and highlighting its advantages over traditional languages like C/C++. You'll then embark on a practical journey, setting up Rust on various platforms and configuring the development environment. From writing your first "Hello, World!" program to harness the power of Rust's package manager, Cargo, the book ensures a smooth initiation into the language.


Delving deeper, the book covers foundational concepts, including variables, data types, control flow, functions, closures, and crucial memory management aspects like ownership, borrowing, and lifetimes. Special attention is given to Rust's strict memory safety guarantees, guiding you in writing secure code with the assistance of the borrow checker.


The book extends its reach to Rust collections, error-handling techniques, and the complexities of concurrency management. From threads and synchronization primitives like Mutex and RwLock to asynchronous programming with async/await and the Tokio library, you'll gain a comprehensive understanding of Rust's capabilities. This book covers it all.


Table of Contents

1. Systems Programming with Rust

2. Basics of Rust

3. Traits and Generics

4. Rust Built-In Data Structures

5. Error Handling and Recovery

6. Memory Management and Pointers

7. Managing Concurrency

8. Command Line Programs

9. Working with Devices I/O in Rust

10. Iterators and Closures

11. Unit Testing in Rust

12. Network Programming

13. Unsafe Coding in Rust

14. Asynchronous Programming

15. Web Assembly with Rust

Index

商品描述(中文翻譯)

「以 Rust 方式建構明日系統」書籍描述:
本書是您掌握 Rust 程式設計的指南,為您提供高效系統程式設計所需的基本技能和見解。首先介紹 Rust 在系統程式設計領域的重要性,並強調其相對於傳統語言如 C/C++ 的優勢。接著,您將進行一個實踐之旅,設置 Rust 在各種平台上並配置開發環境。從撰寫第一個「Hello, World!」程式到利用 Rust 的套件管理器 Cargo,本書確保您順利入門該語言。

深入探討時,本書涵蓋了基礎概念,包括變數、資料類型、控制流程、函式、閉包,以及所有權、借用和生命週期等關鍵的記憶體管理方面。特別關注 Rust 嚴格的記憶體安全保證,引導您在借用檢查器的協助下撰寫安全的程式碼。

本書還涵蓋了 Rust 的集合、錯誤處理技術以及並發管理的複雜性。從線程和同步原語(如 Mutex 和 RwLock)到使用 async/await 和 Tokio 庫進行異步程式設計,您將全面了解 Rust 的能力。本書涵蓋了所有相關內容。

目錄:
1. 使用 Rust 進行系統程式設計
2. Rust 基礎知識
3. 特性和泛型
4. Rust 內建資料結構
5. 錯誤處理和恢復
6. 記憶體管理和指標
7. 並發管理
8. 命令列程式
9. 在 Rust 中處理設備 I/O
10. 迭代器和閉包
11. Rust 單元測試
12. 網路程式設計
13. Rust 中的不安全編碼
14. 異步程式設計
15. 使用 Rust 的 Web Assembly
索引