Rust in Action (Manning)

Rust in Action introduces the Rust programming language by exploring numerous systems programming concepts and techniques. You'll be learning Rust by delving into how computers work under the hood.

Tim McNamara @timClicks

You’ll find yourself playing with persistent storage, memory, networking and even tinkering with CPU instructions. The book takes you through using Rust to extend other applications and teaches you tricks to write blindingly fast code.

You’ll also discover parallel and concurrent programming. Filled to the brim with real-life use cases and scenarios, you’ll go beyond the Rust syntax and see what Rust has to offer in real-world use cases.

Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com” at checkout :+1:

7 Likes

Corresponding tweet for this thread:

Share link for this tweet.

2 Likes

This is definitely one of the Rust books I want to read one day!

Conrgats @timClicks :+1:

6 Likes

Got this one, it is pretty good!!

3 Likes

Thanks for all of the positive words @AstonJ @Maartz :sparkles:. I’m really delighted that it has finally been released. From the very positive reviews that it’s already received, it’s clear that its project-based approach is beneficial to many learners.

If anyone stumbles across this thread - please feel free to ask me anything :crab: :slight_smile:

7 Likes

As usual, I’ll be looking into buying this when its physical version is finalized (and if it can at all be delivered to Eastern Europe). Would really love getting it!

@timClicks I haven’t even scanned the contents. Can you pitch us the book here? What parts of Rust does it teach? Which ones does it gloss over and which ones does it heavily accentuate?

2 Likes

I very like project-based approach. This approach clearly demonstrates to the reader his progress, motivates him to continue studying the topic and, like a favorite TV series, carries away reading from studying the book further.

My question, as a reader, to you, Tim. On the pages of your book, you have implemented several projects. Which one caused you the most difficulty in implementing it, and why?

2 Likes

It’s finished and ready to ship now. Buying Rust in Action it from the publisher is fastest. Amazon and other distributors do not yet have it in stock.

Good question! It is not a 700 page book covering the entire language. Expect light treatment of macros, async and higher-order programming. I spend a lot of time teaching low-level programming though, because I expect that most readers are least familiar with that.

Rust in Action is designed for people who like to learn with practical projects and who want to learn what “systems programming” is. I provide a fuller introduction in this Reddit thread. I recommend searching on Twitter for “rust in action” to see readers’ comments.


I think the database-from-scratch example was the most difficult. But only because I re-wrote the chapter multiple times. I originally wanted to provide a much richer database with a full query language, but ultimately pulled back because there was not enough space in the book. One of my drafts for the chapter was 90 pages long,.

From a different perspective, it was somewhat difficult to go back to my earlier examples. I became a much better Rust programmer as I wrote the book. And I kept fighting the urge to re-write what I had already written.

7 Likes

Thank you for so quick answers @timClicks! :dizzy: Hope your solution inspires enthusiastic readers to develop databases using this language (Rust).

A very interesting topic that you touched upon in your book, Tim, is parallel and concurrent programming. What is the fundamental difference between Rust programming in parallel and concurrent development styles? Is there a difference in Rust development?

Have you used these techniques in each projects of the book (were they needed everywhere)?

3 Likes

One of the advantages of Rust is that the techniques you learn for single-threaded programming map perfectly to the multi-threaded case also. You cannot have two scopes with write access to data anywhere in your program, even across thread boundaries.

5 Likes

I really liked it and plan to read it again at some point.

4 Likes

Now available from Amazon:

5 Likes

Translations

Japanese

A Japanese edition of Rust in Action, entitled 詳解Rustプログラミング, has been released :japan:. It is available from the publisher, Amazon.jp and other retailers:

Audiobook

Rust in Action is also now available as an audio book! You can purchase it via @ManningBooks, Audible and O’Reilly’s Online Learning system:

Video Edition

A video edition is available for O’Reilly’s Online Learning subscribers:

4 Likes

Oo that looks interesting Tim! In fact it’s an idea I have put to @Dave a few times :lol:

I love videos and video courses and think combined with books they can be powerful learning tools :023:

1 Like

Sorry to disappoint you! Video editions for Manning books are not something like a hands-on course. It’s just a page or a paragraph from the book being read to you.

2 Likes

Ah that’s a shame, I thought it might be like a course based on the book - maybe they will start moving towards that direction soon :003:

2 Likes

I hope they do that soon. :slight_smile:

2 Likes

This book is definitely on my short-list of things to get during Black Friday/Cyber Monday sales this year :heart_eyes:

3 Likes

Hi @DevotionGeo and @AstonJ,

we have this course if you are interested: Rust in Motion

4 Likes