Learn Rust by writing a small OS

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • moros

    MOROS: Obscure Rust Operating System 🦉

    I've been playing with OS development for 2 years while writing MOROS[1] thanks to this project, it's such a great resource when you don't know where to start! With this and the help of the OSDev Wiki[2] you can really build your own toy OS.

    [1]: https://github.com/vinc/moros

    [2]: https://wiki.osdev.org

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • x86_64

    Library to program x86_64 hardware.

    Yes, while it may seem on the surface like the blog hasn't been updated in a while, the whole rust x86 project is under active development:

    https://github.com/rust-osdev/x86_64

  • too-many-lists

    Learn Rust by writing Entirely Too Many linked lists

    Probably “Learn Rust With Entirely Too Many Linked Lists”: https://rust-unofficial.github.io/too-many-lists/

  • serenity

    The Serenity Operating System 🐞

    It's not a tutorial series, but you may get something out of browsing the source for https://github.com/SerenityOS/serenity in the meantime. I'm also curious if there are any recent/relevant C++ OS development guides.

  • nomicon

    The Dark Arts of Advanced and Unsafe Rust Programming

    For your second Rust book, I'd highly recommend the Nomicon!

    https://doc.rust-lang.org/nomicon/

    Please ignore all the gatekeeping marketing on that front page - it's very counterproductive and not at all accurate. IMHO all of this material should just be included in the standard Rust book, especially the sections about ownership and implementing Vec.

    The Nomicon is an extremely useful resource because it "desugars" all the magic that is happening when you write Rust, so you are left with a competent understanding of what the compiler is doing on any piece of code you are looking at or writing.

    Valuable reading for people wanting to build real systems in Rust, IMHO.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts