Practical System programming for Rust developers: Build fast and secure software for Linux/Unix systems with the help of practical examples

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和系統程式設計的入門書,如果您是Rust和系統程式設計的新手,並且希望在不使用C或C++的情況下構建可靠高效的系統軟體,這本書非常適合您。

本書採用獨特的方法,以與該主題相關的Linux內核概念和API開始每個主題。您還將探索如何從Rust控制系統資源。隨著學習的深入,您將深入研究高級主題。您將學習網路程式設計,重點是在Rust中使用低階網路原語和協議,然後學習如何使用和編譯Rust與WebAssembly。後面的章節將通過實際的程式碼示例和專案來幫助您擴展知識。

通過閱讀本書,您將具備使用Rust編寫系統軟體工具、函式庫和實用程式的實際技能。

學到的內容:
- 獲得對系統資源管理的扎實理解
- 自信地使用Rust來控制和操作Linux或Unix系統
- 瞭解如何編寫各種實用的系統軟體工具和實用程式
- 深入研究Rust程式的內存管理和內存佈局
- 探索Rust標準函式庫的功能和特點
- 探索外部crate,以提高未來Rust程式設計專案的生產力

本書適合對Rust有基本知識但對系統程式設計知識或經驗很少或沒有的開發人員。系統程式設計師想將Rust作為C或C++的替代方案的人也會發現本書很有用。