Skip to content
matthewcm.dev

    ↑ ↓ move · ↵ open · tab scopeopen graph →

    archive / project · 2023

    Going through the Zero to Prod in Rust book

    Published

    • #rust
    • #back-end
    • #web-assembly

    Ongoing review for the book:

    Currently I have covered a really large portion of the book regarding building a backend web service.

    Throughout the exercises, you do also get onto building something that is production grade heavy, and hosted in Digital Ocean.

    Various important topics which I have covered so far are:

    • Safely handling secrets,
    • encryption,
    • tracing,
    • App logging and telemetry.
    • dealing with errors,

    The book expects a fairly intermediate understanding of Rust. Throughout the exercises, I would just have https://doc.rust-lang.org/book/ on my side at all times. I am not the best in Rust, and I am mostly a front end developer, however, I do have a lot of fun learning Rust, and using rust for more lower level problems.

    Understanding the core principles in Rust is also transferrable to other languages.

    • Makes me write better tests
    • Makes me understand race conditions better, and how to structure code correctly in the first place.
    • In Rust there is a lot of new things, and a lot of times you must build things yourself to get going.