Practical Rust Projects

Building Game, Physical Computing, and Machine Learning Applications

  • Shing Lyu

Table of contents

  1. Front Matter
    Pages i-xiii
  2. Shing Lyu
    Pages 1-8
  3. Shing Lyu
    Pages 9-42
  4. Shing Lyu
    Pages 87-154
  5. Shing Lyu
    Pages 155-185
  6. Shing Lyu
    Pages 237-250
  7. Back Matter
    Pages 251-257

About this book


Go beyond the basics and build complete applications using the Rust programming language. The applications in this book include a high-performance web client, a microcontroller (for a robot, for example), a game, an app that runs on Android, and an application that incorporates AI and machine learning.  

Each chapter will be organized in the following format: what this kind of application looks like; requirements and user stories of our example program; an introduction to the Rust libraries used; the actual implementation of the example program, including common pitfalls and their solutions; and a brief comparison of libraries for building each application, if there is no clear winner.

Practical Rust Projects will open your eyes to the world of practical applications of Rust. After reading the book, you will be able to apply your Rust knowledge to build your own projects. 

You will:

  • Write Rust code that runs on microcontrollers
  • Build a 2D game
  • Create Rust-based mobile Android applications
  • Use Rust to build AI and machine learning applications


Rust game mobile embedded practical projects programming applications apps case studies source code

Authors and affiliations

  • Shing Lyu
    • 1
  1. 1.AmsterdamThe Netherlands

Bibliographic information