Readit News logoReadit News
Posted by u/recvonline 3 years ago
Tell HN: My “Rust Web Development” book is released
Hey folks!

Very proud to announce that my book "Rust Web Development" is now published by Manning: https://www.manning.com/books/rust-web-development.

It was a long process, over 2 years in total. The book is using warp as a web framework, but the whole book is pretty much framework agnostic.

If you did some basic Rust, or come from a different language and wonder what all the fuzz is about, grab the book and give it a read!

garren · 3 years ago
I just got the email about it going from mean to release today. Only a couple chapters in but so far I think it’s a solid addition to my Rust library. Congrats and thanks for writing it!
uxcolumbo · 3 years ago
Congrats on the launch… must be a great feeling after working on it for 2 years.

Consider me a noob though, so excuse my ignorant question…

Why Rust for webdev vs other languages, eg python, RoR, clojure, JS or PHP with Laravel?

What are the benefits? What’s the sales pitch ;)

Or is that explained in the book?

recvonline · 3 years ago
All explained in the book :)

Personally, the compiler and the type system had the biggest impact on both enjoying working in Rust, but also fearlessly jumping into new code bases!

bibhash_ · 3 years ago
I am new to Rust. How is the book (or Rust?) agnostic to any particular framework? Do frameworks share lots of commonality, and/or are they just minimal in nature?

Also, even if the book is agnostic to frameworks, will it still help me learn other frameworks like actix?

jjice · 3 years ago
> Do frameworks share lots of commonality, and/or are they just minimal in nature?

In my experience, most of the popular web frameworks in Rust are pretty minimal. Think Go's standard library or express from Node.

bibhash_ · 3 years ago
That's good to hear. I definitely prefer minimal frameworks like Express over frameworks like Spring.
rkwz · 3 years ago
Congrats!! 2 years is a very long time, but your persistence payed off!! Any tips that helped you stick to the same project for long period of time?
recvonline · 3 years ago
To be honest, the contract with the publisher and my editor. I have a family with two young kids, so there is always something (sick, more fun playing with them etc.).

Also the goal of having a publisher "approve" of my writing was a huge motivation!

In the end, it helps to deliver chapters to the publisher and to the early-reviewer, so you always make progress and feel accomplishments along the way. I am not a type to self-publish this, maybe 5 years ago or in 10 years from now, but I am very happy what Manning offers and the care they give each writer.

movingmove · 3 years ago
Congrats! Followed along during the MEAP phase (and left some comments in the forum :))

Can't wait to get the final version on my doorstep!

aynyc · 3 years ago
Well done!

Hmm... can't find it on O'Reilly yet. Will take a look when it's up.

steveklabnik · 3 years ago
Congrats!
killingtime74 · 3 years ago
Congratulations! 2 years is a long time to be doing one thing