4 ms·
I think you'll get something different for each. The purpose of mine is to explore the Rust programming language, but more specifically on the RISC-V architectu
by pavehawk2007 6y ago
I think you'll get something different for each. The purpose of mine is to explore the Rust programming language, but more specifically on the RISC-V architecture. Rust "recently" became out-of-the-box for RISC-V, which has opened up many more avenues for exploration.
As a note, I believe os.phil-opp.com is using the AMD/Intel architecture.
- jimbob45 6y agoWhat do you mean by out of the box for RISC V?
- pavehawk2007 6y agoOriginally, I required a GNU toolchain from the RISC-V organization for both assembling and linking. Now, I don't need any external tools (except QEMU to run it). Everything you need can be downloaded using Rust's configuration tool rustup for RISC-V. If you take a look at my github, you'll see that I added a .cargo/config file that will build AND run the operating system using cargo.
- sitkack 6y agoWait, we can now host a whole OS w/o directly requiring a C compiler?! I mean Rust still requires one to build clang/llvm, but maybe someday when alternative backends land.
- steveklabnik 6y agoThere are several projects that do this, yes. They're generally not production ready, but it's absolutely possible.