Practical System programming for Rust developers: Build fast and secure software for Linux/Unix systems with the help of practical examples
暫譯: Rust 開發者的實用系統程式設計:透過實例構建快速且安全的 Linux/Unix 系統軟體

Eshwarla, Prabhu

  • 出版商: Packt Publishing
  • 出版日期: 2020-12-24
  • 售價: $1,550
  • 貴賓價: 9.5$1,473
  • 語言: 英文
  • 頁數: 388
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1800560966
  • ISBN-13: 9781800560963
  • 相關分類: LinuxRust 語言
  • 相關翻譯: Rust 系統編程 (簡中版)
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

Explore various Rust features, data structures, libraries, and toolchain to build modern systems software with the help of hands-on examples


Key Features:

  • Learn techniques to design and build system tools and utilities in Rust
  • Explore the different features of the Rust standard library for interacting with operating systems
  • Gain an in-depth understanding of the Rust programming language by writing low-level software


Book Description:


Modern programming languages such as Python, JavaScript, and Java have become increasingly accepted for application-level programming, but for systems programming, C and C++ are predominantly used due to the need for low-level control of system resources. Rust promises the best of both worlds: the type safety of Java, and the speed and expressiveness of C++, while also including memory safety without a garbage collector. This book is a comprehensive introduction if you're new to Rust and systems programming and are looking to build reliable and efficient systems software without C or C++.


The book takes a unique approach by starting each topic with Linux kernel concepts and APIs relevant to that topic. You'll also explore how system resources can be controlled from Rust. As you progress, you'll delve into advanced topics. You'll cover network programming, focusing on aspects such as working with low-level network primitives and protocols in Rust, before going on to learn how to use and compile Rust with WebAssembly. Later chapters will take you through practical code examples and projects to help you build on your knowledge.


By the end of this Rust programming book, you will be equipped with practical skills to write systems software tools, libraries, and utilities in Rust.


What you will learn:

  • Gain a solid understanding of how system resources are managed
  • Use Rust confidently to control and operate a Linux or Unix system
  • Understand how to write a host of practical systems software tools and utilities
  • Delve into memory management with the memory layout of Rust programs
  • Discover the capabilities and features of the Rust Standard Library
  • Explore external crates to improve productivity for future Rust programming projects


Who is this book for:


This book is for developers with basic knowledge of Rust but little to no knowledge or experience of systems programming. System programmers who want to consider Rust as an alternative to C or C++ will also find this book useful.

商品描述(中文翻譯)

探索各種 Rust 特性、資料結構、函式庫和工具鏈,透過實作範例來建立現代系統軟體

主要特點:


  • 學習設計和建立 Rust 系統工具和實用程式的技術

  • 探索 Rust 標準函式庫中與作業系統互動的不同特性

  • 透過撰寫低階軟體深入了解 Rust 程式語言

書籍描述:

現代程式語言如 Python、JavaScript 和 Java 在應用程式層級的程式設計中越來越被接受,但在系統程式設計中,由於需要對系統資源進行低階控制,C 和 C++ 仍然是主要使用的語言。Rust 承諾提供兩者的最佳特性:Java 的類型安全性,以及 C++ 的速度和表達能力,同時還具備無需垃圾回收器的記憶體安全性。如果你對 Rust 和系統程式設計不熟悉,並希望在不使用 C 或 C++ 的情況下建立可靠且高效的系統軟體,這本書將是全面的入門指南。

本書採取獨特的方法,從與主題相關的 Linux 核心概念和 API 開始每個主題。你還將探索如何從 Rust 控制系統資源。隨著進度的推進,你將深入探討進階主題。你將涵蓋網路程式設計,專注於在 Rust 中使用低階網路原語和協定的各個方面,然後學習如何使用和編譯 Rust 與 WebAssembly。後面的章節將帶你通過實用的程式碼範例和專案,幫助你擴展知識。

在這本 Rust 程式設計書的結尾,你將具備撰寫 Rust 系統軟體工具、函式庫和實用程式的實用技能。

你將學到什麼:


  • 深入了解系統資源的管理方式

  • 自信地使用 Rust 控制和操作 Linux 或 Unix 系統

  • 了解如何撰寫各種實用的系統軟體工具和實用程式

  • 深入探討 Rust 程式的記憶體管理與記憶體佈局

  • 發現 Rust 標準函式庫的功能和特性

  • 探索外部 crate 以提高未來 Rust 程式設計專案的生產力

這本書適合誰:

這本書適合對 Rust 有基本知識但對系統程式設計幾乎沒有知識或經驗的開發者。希望將 Rust 作為 C 或 C++ 替代方案的系統程式設計師也會發現這本書非常有用。