The Rust Programming Language (Covers Rust 2018) Illustrated Edition

Klabnik, Steve, Nichols, Carol

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

商品描述

The official book on the Rust programming language, written by the Rust development team at the Mozilla Foundation, fully updated for Rust 2018.

The Rust Programming Language is the official book on Rust: an open source systems programming language that helps you write faster, more reliable software. Rust offers control over low-level details (such as memory usage) in combination with high-level ergonomics, eliminating the hassle traditionally associated with low-level languages.

The authors of The Rust Programming Language, members of the Rust Core Team, share their knowledge and experience to show you how to take full advantage of Rust's features--from installation to creating robust and scalable programs. You'll begin with basics like creating functions, choosing data types, and binding variables and then move on to more advanced concepts, such as:

 

  • Ownership and borrowing, lifetimes, and traits
  • Using Rust's memory safety guarantees to build fast, safe programs
  • Testing, error handling, and effective refactoring
  • Generics, smart pointers, multithreading, trait objects, and advanced pattern matching
  • Using Cargo, Rust's built-in package manager, to build, test, and document your code and manage dependencies
  • How best to use Rust's advanced compiler with compiler-led programming techniques

  • You'll find plenty of code examples throughout the book, as well as three chapters dedicated to building complete projects to test your learning: a number guessing game, a Rust implementation of a command line tool, and a multithreaded server.

    New to this edition: An extended section on Rust macros, an expanded chapter on modules, and appendixes on Rust development tools and editions.

商品描述(中文翻譯)

《Rust程式語言官方手冊》是由Mozilla基金會的Rust開發團隊撰寫的,完全更新至Rust 2018版本。

《Rust程式語言官方手冊》是關於Rust的官方手冊,Rust是一種開源系統程式設計語言,可幫助您撰寫更快、更可靠的軟體。Rust結合了對低階細節(如記憶體使用)的控制和高階人性化,消除了傳統低階語言所帶來的麻煩。

《Rust程式語言官方手冊》的作者是Rust核心團隊的成員,他們分享了他們的知識和經驗,向您展示如何充分利用Rust的功能,從安裝到創建強大且可擴展的程式。您將從創建函數、選擇資料類型和綁定變數等基礎知識開始,然後進一步學習更高級的概念,例如:

- 所有權和借用、生命週期和特性
- 利用Rust的記憶體安全保證來建構快速、安全的程式
- 測試、錯誤處理和有效的重構
- 泛型、智能指標、多執行緒、特性物件和高級模式匹配
- 使用Cargo,Rust內建的套件管理器,來建構、測試、文件化程式碼並管理相依性
- 如何最佳地使用Rust的高級編譯器和編譯器導向的程式設計技巧

書中有大量的程式碼範例,並有三個章節專門用於建構完整的專案以測試您的學習成果:一個數字猜測遊戲、一個Rust實現的命令列工具和一個多執行緒伺服器。

本版新增內容:Rust巨集的擴展部分、模組的擴展章節以及有關Rust開發工具和版本的附錄。

作者簡介

Steve Klabnik is the Community Team Leader for the Rust team at Mozilla, in charge of official Rust community documentation as well as the key Rust community advocate. Klabnik is a frequent speaker at conferences and one of the world's most prolific contributors to Rails projects.

Carol Nichols is a member of the Rust Community Team. She's been active in the Rust community and is an organizer of the Rust Belt Rust Conference.

作者簡介(中文翻譯)

Steve Klabnik是Mozilla Rust團隊的社區團隊負責人,負責官方Rust社區文件以及Rust社區的主要倡導者。Klabnik經常在會議上演講,也是世界上對Rails項目貢獻最多的人之一。

Carol Nichols是Rust社區團隊的成員。她在Rust社區中非常活躍,也是Rust Belt Rust Conference的組織者。