© 2020

Practical Rust Projects

Building Game, Physical Computing, and Machine Learning Applications


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

  1. 1.AmsterdamThe Netherlands

About the authors

Shing Lyu is a software engineer who is passionate about open source software. He's worked on Rust professionally at Mozilla, on the Firefox (Gecko) and Servo browser engine project. Currently, he is working at DAZN, a sports streaming platform as a backend developer, with a focus on AWS and serverless technology. Shing has worked for many world famous brands such as Mozilla and Intel. He is also active in the open source community.  Being one of the founders of the Taiwan Rust community, he loves to share his enthusiasm for Rust with people.

Bibliographic information