The Rust Programming Language (Paperback)

Steve Klabnik, Carol Nichols

買這商品的人也買了...

商品描述

The Rust Programming Language is the official book on Rust; a community-developed, systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. Rust’s memory safety guarantees, enforced at compile time, safeguard your programs against the many problems that pervade other systems languages. Rust offers the control and performance of a low-level language with the helpful abstractions of a high level one, and does this all without having a garbage collector. These characteristics make Rust useful for embedding in other languages, programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems.

The Rust Programming Language begins with a quick hands-on project to introduce the basics, then explores key concepts in depth, such as ownership, the type system, error handling, and fearless concurrency. Detailed explanations of Rust-oriented takes on topics like pattern matching, iterators, and smart pointers combine with examples and exercises to take you from theory to practice.

In addition to its thorough coverage of more granular topics, The Rust Programming Language will show you how to:

-Grasp important concepts unique to Rust like ownership, borrowing, and lifetimes
-Use Cargo, Rust’s built-in package manager, to build your code, including downloading and building dependencies
-Effectively use Rust’s zero-cost abstractions and learn to build your own

Developed with help from the community, The Rust Programming Language is your official guide to becoming a productive Rust programmer.

商品描述(中文翻譯)

《Rust程式語言》是關於Rust的官方書籍,Rust是一種由社群開發的系統程式語言,運行速度極快,能夠防止段錯誤並保證線程安全。Rust在編譯時強制執行的內存安全保證,能夠保護你的程式免受其他系統語言中普遍存在的許多問題的影響。Rust提供了低階語言的控制和性能,同時又具有高階語言的有用抽象,而且這一切都不需要垃圾回收器。這些特性使得Rust非常適合嵌入到其他語言中、具有特定空間和時間要求的程式,以及編寫低階代碼,例如設備驅動程式和操作系統。



《Rust程式語言》首先通過一個快速的實踐項目介紹基礎知識,然後深入探討所有關鍵概念,如所有權、類型系統、錯誤處理和無懼並發。Rust對模式匹配、迭代器和智能指針等主題的詳細解釋結合了示例和練習,讓你從理論走向實踐。



除了詳細介紹更細節的主題外,《Rust程式語言》還將教你:



-理解Rust獨特的重要概念,如所有權、借用和生命周期

-使用Cargo,Rust內置的套件管理器,來構建你的程式碼,包括下載和構建依賴項

-有效地使用Rust的零成本抽象,並學習如何構建自己的抽象



《Rust程式語言》是由社群的幫助下開發的,是你成為高效Rust程式設計師的官方指南。

作者簡介

Steve Klabnik works at Mozilla, is on the core team of Rust, and leads the documentation team. Klabnik is a frequent speaker at conferences and is a prolific open source contributor, previously working on projects such as Ruby and Ruby on Rails.

Carol Nichols is a member of the Rust Tools and Community Teams. She’s a co-founder of Integer 32, LLC, the world’s first Rust-focused software consultancy. She also organizes the Rust Belt Rust Conference.

作者簡介(中文翻譯)

Steve Klabnik 是 Mozilla 的員工,是 Rust 的核心團隊成員,並領導文件團隊。Klabnik 經常在會議上演講,並且是一位多產的開源貢獻者,之前曾參與 Ruby 和 Ruby on Rails 等專案的開發。

Carol Nichols 是 Rust 工具和社區團隊的成員。她是 Integer 32, LLC 的共同創辦人,這是世界上第一家專注於 Rust 的軟體諮詢公司。她還組織了 Rust Belt Rust Conference。

目錄大綱

Chapter 1: Getting Started
Chapter 2: Guessing Game
Chapter 3: Common Programming Concepts
Chapter 4: Understanding Ownership
Chapter 5: Structs
Chapter 6: Enums and Pattern Matching
Chapter 7: Modules
Chapter 8: Common Collections
Chapter 9: Error Handling
Chapter 10: Generic Types, Traits, and Lifetimes
Chapter 11: Testing
Chapter 12: An Input/Output Project
Chapter 13: Iterators and Closures
Chapter 14: More About Cargo and Crates.io
Chapter 15: Smart Pointers
Chapter 16: Concurrency
Chapter 17: Is Rust Object Oriented?
Chapter 18: Patterns
Chapter 19: More About Lifetimes
Chapter 20: Advanced Type System Features

目錄大綱(中文翻譯)

第一章:入門
第二章:猜數字遊戲
第三章:常見的程式設計概念
第四章:理解所有權
第五章:結構體
第六章:列舉和模式匹配
第七章:模組
第八章:常見的集合
第九章:錯誤處理
第十章:泛型類型、特性和生命週期
第十一章:測試
第十二章:輸入/輸出專案
第十三章:迭代器和閉包
第十四章:更多關於Cargo和Crates.io
第十五章:智能指針
第十六章:並發
第十七章:Rust是物件導向的嗎?
第十八章:模式
第十九章:更多關於生命週期
第二十章:高級類型系統功能