News for hackers. Stuff that matters.
Re:Making a RISC-V Operating System Using Rust by opengears on Wednesday June 14, 2023 @03:48AM (#36322794)
This blog post is from 2019 (with updates from 2020). I guess Rust has matured since then (and especially the RISCV support in Rust). Does anyone have more insight into this?
Re:Making a RISC-V Operating System Using Rust by proto_lambda on Wednesday June 14, 2023 @04:24AM (#36323057)
Since this is a from-scratch implementation, there's not much support from the language side to begin with. Except for some build system details that may have been made less annoying, I don't think much has changed.
Re:Making a RISC-V Operating System Using Rust by junon on Wednesday June 14, 2023 @05:10AM (#36323352)
Ehhhh yes and no, you're mostly correct. 2021 is currently the shelf year for the latest edition of Rust.

However rust versions everything, so even if you have a new compiler that removed support for something, you can still pull the old toolchains and build legacy codebases (like this one).

My Rust OS not only pins the edition (which is the default anyway with `cargo init`) but also uses a toolchain file to pin the date of the nightly build I want contributors to build with.

Rust tooling is really fantastic in this regard.

Re:Making a RISC-V Operating System Using Rust by flandre on Wednesday June 14, 2023 @11:45AM (#36327697)
> However rust versions everything.

I chuckled a little, after all, GCC isn't versioned and there's no companies out there still using GCC 4 or whatever kind of suffering they prefer.

Re:Making a RISC-V Operating System Using Rust by junon on Thursday June 15, 2023 @01:05AM (#36336622)
That wasn't my point at all, if you read the rest of the comment. I think it was clear I was referring to the ability pin and fetch specific versions of the toolchain when necessary, directly from Rust's tooling.
Re:Making a RISC-V Operating System Using Rust by jvdvegt on Wednesday June 14, 2023 @04:44AM (#36323175)
Some more clicking got me to updates from mid 2022: https://blog.stephenmarz.com/
Re:Making a RISC-V Operating System Using Rust by worik on Wednesday June 14, 2023 @07:39AM (#36324339)
Nothing for a year