Creative Projects for Rust Programmers: Build exciting projects on domains such as web apps,WebAssembly,games,and parsing
by: Carlo Milanesi
Print Length 页数: 404 pages
Publisher finelybook 出版社: Packt Publishing (19 Jun. 2020)
Language 语言: English
ISBN-10: 1789346223
ISBN-13: 9781789346220
Book Description
By finelybook
A practical guide to understanding the latest features of the Rust programming language,useful libraries,and frameworks that will help you design and develop interesting projects
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
Table of Contents
Preface
Chapter 1: Rust 2018: Productivity
Chapter 2: Storing and Retrieving Data
Chapter 3: Creating a REST Web Service
Chapter 4: Creating a Full Server-Side Web App
Chapter 5: Creating a Client-Side WebAssembly App Using Yew
Chapter 6: Creating a WebAssembly Game Using Quicksilver
Chapter 7: Creating a Desktop Two-Dimensional Game Using ggez
Chapter 8: Using a Parser Combinator for Interpreting and
Compiling
Chapter 9: Creating a Computer Emulator Using Nom
Chapter 10: Creating a Linux Kernel Module
Chapter 11: The Future of Rust
Assessments
Other Books You May Enjoy
Index