• CupcakeOfSpice [she/her]@hexbear.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      I don’t remember exactly how, but you can specify a compiler using arcane magic I don’t fully understand to compile for a baremetal target. Some people do full OS dev in just Rust, though usually C and ASM are involved to bootstrap. It can be somewhat arcane, though.

      • Llituro [he/him, they/them]@hexbear.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        There’s a blog about writing a micro kernel in Rust that details how to compile for bare metal. It’s actually possible to entirely avoid C, although a bit annoying to be sure.

    • ProletarianDictator [none/use name]@hexbear.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      The tooling for Rust is the best out of any language I have ever written. Idk what you are looking for, but as someone who does backend dev in Rust, I can’t think of a language that even comes close to Rust’s tooling.