Creative Projects for Rust Programmers: Build exciting projects on domains such as web apps, WebAssembly, games, and parsing
Milanesi, Carlo
- 出版商: Packt Publishing
- 出版日期: 2020-06-18
- 定價: $1,800
- 售價: 9.0 折 $1,620
- 語言: 英文
- 頁數: 404
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1789346223
- ISBN-13: 9781789346220
-
相關分類:
Rust 語言、WebAssembly
-
相關翻譯:
Rust 項目開發實戰 (簡中版)
立即出貨 (庫存=1)
相關主題
商品描述
Key Features
- Work through projects that will help you build high-performance applications with Rust
- Delve into concepts such as error handling, memory management, concurrency, generics, and macros with Rust
- Improve business productivity by choosing the right libraries and frameworks for your applications
Book Description
Rust is a community-built language that solves pain points present in many other languages, thus improving performance and safety. In this book, you will explore the latest features of Rust by building robust applications across different domains and platforms.
The book gets you up and running with high-quality open source libraries and frameworks available in the Rust ecosystem that can help you to develop efficient applications with Rust. You'll learn how to build projects in domains such as data access, RESTful web services, web applications, 2D games for web and desktop, interpreters and compilers, emulators, and Linux Kernel modules. For each of these application types, you'll use frameworks such as Actix, Tera, Yew, Quicksilver, ggez, and nom. This book will not only help you to build on your knowledge of Rust but also help you to choose an appropriate framework for building your project.
By the end of this Rust book, you will have learned how to build fast and safe applications with Rust and have the real-world experience you need to advance in your career.
What you will learn
- Access TOML, JSON, and XML files and SQLite, PostgreSQL, and Redis databases
- Develop a RESTful web service using JSON payloads
- Create a web application using HTML templates and JavaScript and a frontend web application or web game using WebAssembly
- Build desktop 2D games
- Develop an interpreter and a compiler for a programming language
- Create a machine language emulator
- Extend the Linux Kernel with loadable modules
Who this book is for
This Rust programming book is for developers who want to get hands-on experience with implementing their knowledge of Rust programming, and are looking for expert advice on which libraries and frameworks they can adopt to develop software that typically uses the Rust language.
商品描述(中文翻譯)
《主要特點》
- 通過項目實踐,幫助您使用Rust構建高性能應用程序
- 深入探討Rust中的錯誤處理、內存管理、並發、泛型和宏等概念
- 通過選擇適合應用程序的庫和框架,提高業務生產力
《書籍描述》
Rust是一種由社區開發的語言,解決了其他許多語言存在的問題,從而提高了性能和安全性。在本書中,您將通過在不同領域和平台上構建強大應用程序來探索Rust的最新功能。
本書將引導您使用Rust生態系統中提供的高質量開源庫和框架,幫助您開發高效的Rust應用程序。您將學習如何在數據訪問、RESTful Web服務、Web應用程序、Web和桌面2D遊戲、解釋器和編譯器、仿真器以及Linux內核模塊等領域中構建項目。對於這些應用程序類型,您將使用Actix、Tera、Yew、Quicksilver、ggez和nom等框架。本書不僅將幫助您擴展Rust知識,還將幫助您選擇適合您項目的框架。
通過閱讀本書,您將學會如何使用Rust構建快速且安全的應用程序,並獲得在職業生涯中前進所需的實踐經驗。
《學到什麼》
- 訪問TOML、JSON和XML文件以及SQLite、PostgreSQL和Redis數據庫
- 使用JSON有效載荷開發RESTful Web服務
- 使用HTML模板和JavaScript創建Web應用程序,使用WebAssembly創建前端Web應用程序或Web遊戲
- 構建桌面2D遊戲
- 開發一個解釋器和編譯器,用於編程語言
- 創建機器語言仿真器
- 擴展Linux內核以加載模塊
《適合人群》
本書適合希望通過實踐Rust編程知識並尋求專家建議的開發人員,他們希望採用庫和框架來開發通常使用Rust語言的軟件。
作者簡介
Carlo Milanesi has a computer science degree from the State University of Milan, and lives in Bergamo, Italy. He is a software engineer with decades of experience in teaching and developing software for desktop and the web on Windows or Linux, using C, C++, Smalltalk, Delphi, Visual Basic, C#, Java, JavaScript, and Rust.
He loves writing tests and documentation and has experience in the domains of banking, portfolio management, construction engineering, CAD systems for milling machines, human-machine interface systems for machine tools, and websites and web applications for enterprises and for public administration management. He has written a book on Rust entitled, Beginning Rust: From Novice to Professional.
作者簡介(中文翻譯)
Carlo Milanesi在意大利的Bergamo居住,擁有米蘭國立大學的計算機科學學位。他是一位軟體工程師,擁有數十年的教學和開發桌面和網頁軟體的經驗,使用C、C++、Smalltalk、Delphi、Visual Basic、C#、Java、JavaScript和Rust等程式語言,並在Windows或Linux平台上進行開發。
他熱愛撰寫測試和文件,並在銀行、投資組合管理、建築工程、銑床CAD系統、機床人機界面系統以及企業和公共管理網站和網頁應用程式等領域擁有豐富經驗。他還撰寫了一本名為《Beginning Rust: From Novice to Professional》的Rust書籍。
目錄大綱
- Rust 2018 – Productivity
- Storing and retrieving data
- Creating a REST Web Service
- Creating a full Web app using Actix
- Creating a Client-Side WebAssembly App Using Yew
- Creating a WebAssembly Game Using Quicksilver
- Creating a Desktop 2D Game Using ggez
- Using a Parser Combinator for Interpreting and Compiling
- Creating a Computer Emulator using Nom
- Creating a Linux kernel module
- The Future of Rust
目錄大綱(中文翻譯)
- Rust 2018 – 生產力
- 儲存和擷取資料
- 建立一個 REST Web 服務
- 使用 Actix 建立一個完整的 Web 應用程式
- 使用 Yew 建立一個客戶端 WebAssembly 應用程式
- 使用 Quicksilver 建立一個 WebAssembly 遊戲
- 使用 ggez 建立一個桌面 2D 遊戲
- 使用解析器組合子進行解譯和編譯
- 使用 Nom 建立一個電腦模擬器
- 建立一個 Linux 內核模組
- Rust 的未來