Jump to ratings and reviews
Rate this book

Rust Programming By Example: Enter the world of Rust by building engaging, concurrent, reactive, and robust applications

Rate this book
Discover the world of Rust programming through real-world examples Rust is an open source, safe, concurrent, practical language created by Mozilla. It runs blazingly fast, prevents segfaults, and guarantees safety. This book gets you started with essential software development by guiding you through the different aspects of Rust programming. With this approach, you can bridge the gap between learning and implementing immediately. Beginning with an introduction to Rust, you'll learn the basic aspects such as its syntax, data types, functions, generics, control flows, and more. After this, you'll jump straight into building your first project, a Tetris game. Next you'll build a graphical music player and work with fast, reliable networking software using Tokio, the scalable and productive asynchronous IO Rust library. Over the course of this book, you'll explore various features of Rust Programming including its SDL features, event loop, File I/O, and the famous GTK+ widget toolkit. Through these projects, you'll see how well Rust performs in terms of concurrency-including parallelism, reliability, improved performance, generics, macros, and thread safety. We'll also cover some asynchronous and reactive programming aspects of Rust. By the end of the book, you'll be comfortable building various real-world applications in Rust. This book is for software developers interested in system level and application programming who are looking for a quick entry into using Rust and understanding the core features of the Rust Programming. It's assumed that you have a basic understanding of Java, C#, Ruby, Python, or JavaScript.

454 pages, Paperback

Published January 11, 2018

1 person is currently reading
25 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (25%)
4 stars
3 (75%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
379 reviews10 followers
May 21, 2019
The book explains how to develop a couple of real applications (a Tetris game in Gtk and an FTP server), by building them piece by piece, and, for the FTP server, refactoring the initial thread-based version into an async one.

It's a good way to learn both the language and the libraries, but sometimes the code is a bit overwhelming, and I'm not sure how much of the async code will still be valid in a year or so, given the speed at which it's developed. Boucher is developing his own async library, so maybe a second edition of the book will happen in a few months time.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.