Creative Projects for Rust Programmers: Build exciting projects on domains such as web apps, WebAssembly, games, and parsing Front Cover

Creative Projects for Rust Programmers: Build exciting projects on domains such as web apps, WebAssembly, games, and parsing

  • Length: 404 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2020-06-19
  • ISBN-10: 1789346223
  • ISBN-13: 9781789346220
  • Sales Rank: #149689 (See Top 100 Books)
Description

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

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.

Table of Contents

  1. Rust 2018 – Productivity
  2. Storing and retrieving data
  3. Creating a REST Web Service
  4. Creating a full Web app using Actix
  5. Creating a Client-Side WebAssembly App Using Yew
  6. Creating a WebAssembly Game Using Quicksilver
  7. Creating a Desktop 2D Game Using ggez
  8. Using a Parser Combinator for Interpreting and Compiling
  9. Creating a Computer Emulator using Nom
  10. Creating a Linux kernel module
  11. The Future of Rust
To access the link, solve the captcha.