Rust Programming By Example

Discover the world of Rust programming through real-world examples

Rust Programming By Example

Guillaume Gomez, Antoni Boucher

5 customer reviews
Discover the world of Rust programming through real-world examples
Mapt Subscription
FREE
$20.83/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Rust Programming By Example Book Cover
Rust Programming By Example
$ 35.99
$ 25.20
Network Programming with Rust Book Cover
Network Programming with Rust
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $36.98
Add to Cart

Book Details

ISBN 139781788390637
Paperback454 pages

Book Description

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.

Table of Contents

Chapter 3: Events and Basic Game Mechanisms
Chapter 4: Adding All Game Mechanisms
Chapter 8: Understanding FTP
Chapter 11: Rust Best Practices

What You Will Learn

  • Compile and run the Rust projects using the Cargo-Rust Package manager
  • Use Rust-SDL features such as the event loop, windows, infinite loops, pattern matching, and more
  • Create a graphical interface using Gtk-rs and Rust-SDL
  • Incorporate concurrency mechanism and multi-threading along with thread safety and locks
  • Implement the FTP protocol using an Asynchronous I/O stack with the Tokio library

Authors

Table of Contents

Chapter 3: Events and Basic Game Mechanisms
Chapter 4: Adding All Game Mechanisms
Chapter 8: Understanding FTP
Chapter 11: Rust Best Practices

Book Details

ISBN 139781788390637
Paperback454 pages
Read More
From 5 reviews

Read More Reviews

Recommended for You

Network Programming with Rust Book Cover
Network Programming with Rust
$ 35.99
$ 25.20
Hands-On Concurrency with Rust Book Cover
Hands-On Concurrency with Rust
$ 35.99
$ 25.20
Hands-On Functional Programming in RUST Book Cover
Hands-On Functional Programming in RUST
$ 35.99
$ 25.20
Rust High Performance Book Cover
Rust High Performance
$ 35.99
$ 25.20
Rust Standard Library Cookbook Book Cover
Rust Standard Library Cookbook
$ 35.99
$ 25.20
Mastering Linux Security and Hardening Book Cover
Mastering Linux Security and Hardening
$ 35.99
$ 25.20