Hands-on Rust: Effective Learning through 2D Game Development and Play (PragProg)

Glad you like the book! Herbert is working on another Rust book, which is now in beta: Rust Brain Teasers: Exercise Your Mind by Herbert Wolverson

6 Likes

Purchased :sunglasses:

4 Likes

A post was split to a new topic: Hands on Rust: Need help with error - thread ‘main’ panicked at 'Failed to load texture

Just finished the book and have to say that I really really enjoyed it. I already had a little (very little) experience on working with rust and it really helped get a better grasp of things.

I always had a thing for gamedev and this book was I think the best way to get me a little more into both rust and game development. I had worked as a game developer back in the days of MS-Dos based games but didn’t have any experience with ECS and the book helped a lot.

So thank you very much for writing this book and looking forward to the Brain Teasers book!

1 Like

You’re welcome! I’m hard at work on a follow-up, but I can’t give an ETA yet. Thank you for reading it.

2 Likes

Herbert, I read your book and it was really nice. Thanks for sharing your knowledge with us.

1 Like

I’m glad you liked it, thank you!

2 Likes

Hey :raised_hand_with_fingers_splayed: I recently received and subsequently finished the book and it was excellent. The games and game-dev concepts provided an excellent insight into the language. I love how the evolving game complexity necessitates the introduction of bigger-picture rust concepts and approaches. I can tell I’m approaching rust problems differently already.

I also checked out your talk with JetBrains, which is a nice handoff from the book to the current state of rust game-dev.

https://www.youtube.com/live/yFOPtYwnDjU

Awesome stuff. Thanks for sharing!

2 Likes

I am interested in this book, and the author’s follow up on this one. But how is Rust for building web applications?

1 Like

Advanced Hands-on Rust is in beta now - should have the final chapters appearing very soon. It’s still “learn Rust with games”, and only has a tiny bit of web development in there (a small web service, in the next beta).

It kinda depends upon what sort of web development you like to do. The ecosystem isn’t quite as mature as what you find in Go land, but it’s great for building small, powerful web services (I frequently demo thousands of requests per second to a REST API backed by Sqlite on my Macbook Air M1 - only using a trickle of memory). I gave a short (mis-titled; it was meant to say “back end”) talk for Ardan Labs about it at the end of last year.

If you want the “full stack” experience, “Leptos” is getting pretty good at being a Rust on Rails type setup. I don’t really do front-end, so I haven’t used it much. I have a number of Axum/Tokio/Rust webservers in production - and they are pretty flawless. It’s pretty easy to use, the layer system is powerful, and it’s very light on resources.

3 Likes

Thank you :slight_smile:

2 Likes