Practical Rust 1.x Cookbook, Second Edition: 100+ Solutions for beginners to practice rust programming across CI/CD, kubernetes, networking, code perf

Frank, Lloyd

  • 出版商: Gitforgits
  • 出版日期: 2024-06-07
  • 售價: $2,530
  • 貴賓價: 9.5$2,404
  • 語言: 英文
  • 頁數: 292
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 8119177339
  • ISBN-13: 9788119177332
  • 相關分類: KubernetesRust 語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

If you want to learn how to program in Rust and create strong, reliable apps with the most recent version Rust 1.68, then you need the "Practical Rust 1.x Cookbook (Second Edition)"-a book full of real-world solutions. An extensive collection of practical recipes covering a wide range of topics. You will learn the fundamentals of programming, how to set up a development environment, and the syntax of Rust in the first few chapters. Data structures, pattern matching, error handling, and concurrency are all covered in the recipes, which will set you up for success with more complex topics. You'll learn to write efficient and secure code by managing memory, using ownership model and borrowing rules.


Using profiling tools like valgrind and perf, the cookbook teaches you how to find and fix performance bottlenecks, which is a major focus of performance optimization. In the more advanced chapters, you will learn how to use static and dynamic analysis, fuzz testing, and external high-performance libraries to make your applications even better.


Table of Content
    Setting up and Configuring Rust EnvironmentHands-on Traits, Enums and StructPattern Matching, Concurrency, Pointers and ModulesUsing Declarative and Procedural MacrosImplementing Concurrency and MultithreadingAsynchronous ProgrammingDeveloping REST and SOAP APIsBuilding Microservices & ArchitecturesWorking around CI/CDWorking around KubernetesFuzz Testing and Static AnalysisCode Performance Optimization

商品描述(中文翻譯)

如果你想學習如何使用 Rust 程式設計並創建強大、可靠的應用程式,特別是使用最新版本的 Rust 1.68,那麼你需要《Practical Rust 1.x Cookbook (第二版)》這本書——一本充滿現實世界解決方案的書籍。這本書包含了廣泛主題的實用食譜,讓你能夠學習程式設計的基本原則、如何設置開發環境,以及 Rust 的語法。在前幾章中,你將學習到資料結構、模式匹配、錯誤處理和並發等內容,這些都將為你進一步學習更複雜的主題打下基礎。你將學會如何通過管理記憶體、使用所有權模型和借用規則來編寫高效且安全的程式碼。

使用像 valgrind 和 perf 這樣的性能分析工具,這本食譜教你如何找到並修復性能瓶頸,這是性能優化的一個主要重點。在更高級的章節中,你將學習如何使用靜態和動態分析、模糊測試以及外部高性能庫來進一步提升你的應用程式。

目錄
1. 設置和配置 Rust 環境
2. 實作 Traits、Enums 和 Struct
3. 模式匹配、並發、指標和模組
4. 使用宣告式和程序式宏
5. 實作並發和多執行緒
6. 非同步程式設計
7. 開發 REST 和 SOAP API
8. 建立微服務與架構
9. 處理 CI/CD
10. 處理 Kubernetes
11. 模糊測試和靜態分析
12. 程式碼性能優化