O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Final exercise - starting our project

We now have a solid base on which to build some decent understanding. To drive it in, you should now build the foundation for the project that we will grow over the chapters.

The book's project will eventually be a multi-client strategy game. A game should be something where Rust's features, especially low resource usage, and multithread and memory safety, should benefit us greatly. Also, a game is open-ended enough in its specifications, so it will be rather easy to make use of all the features we need to cover. Last but not least, building games is fun, and mastering things that are fun is much easier.

Do the following:

  1. Initialize a Cargo binary project. Call it whatever you want (but I will name the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required