Hacker News new | past | comments | ask | show | jobs | submit login

This is more "learn web development in Rust" than Rust in general.

"In case you come from Python or Javascript you can alternatively replace the first four steps with a single book. Rust Web Programming."

Rust for web backend stuff may be overkill. Go is designed for that job. But if your AWS bill is huge and your back end is node.js or Python, converting may help.




Hi. Author here. I appreciate the feedback. Perhaps it’s confusing that I put that chapter first, might need to put it as an appendix instead.

If you look at the learning path it should be clear that it is learning rust in general, with the content going from very accessible to more intermediate.

The learning resources are focussed on learning rust and only touch on web development (full stack) when the learning resources touch it as an example.

The original motivation to bundle this guide was to help onboard members of my time in the world of Rust as we are building a new MITM proxy for the web stack which can be considered as a proper systems programming project, especially given how much traffic we put through it. I experience Rust also really excels here.

But again, I’m always open to feedback. So happy to listen and discuss more. Thanks for checking it out as well.

Edit: in the meanwhile I've moved that section to an appendix at the end as to not have it seem like a focus. Thanks again for the feedback.


If your product not only requires a backend but also things like using 3D graphics APIs or interaction with low-level OS APIs, then Rust can be a great choice. One of the best things about Rust is that it is well suited for everything C is used for, but at the same time is very ergonomic for things like web backends.


From some very casual testing on GCP cloud run a custom rust container performs tangibly better than go or python containers (built with GCP web UI) on mem, latency and start metrics.

Definitely an apples vs oranges comparison (scratch docker vs whatever GCP's usual go/py container is) but was still surprised how much scope for improvement there is over their presumably optimised default runtimes


Rust on Lambda's using containers as the deployment artifact are also very good, i'd say a perfect match. Low artifact size, low cpu+memory usage, fast execution. I think AWS must be using increasingly using Rust on Lambda internally from the talks I've seen them publish and the work gone in to https://github.com/awslabs/aws-lambda-rust-runtime.

For simple REST API's there's not much extra effort in using Rust once you are familiar.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: