TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Making a RISC-V Operating System Using Rust

300 pointsby fogusover 5 years ago

12 comments

azhenleyover 5 years ago
I&#x27;ve been pushing the author to write this up for a year now (we both work at University of Tennessee). He teaches a lot of OS-oriented courses and makes them for fun so he is perfect to write this.<p>Next I&#x27;m trying to convince him to make an OS in Zig for Raspberry Pi with a focus on graphics. If you have any suggestions for him, shoot him an email!
评论 #21136925 未加载
monocasaover 5 years ago
On a related note, MIT seems to have ported xv6 to riscv.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mit-pdos&#x2F;xv6-riscv" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mit-pdos&#x2F;xv6-riscv</a>
duckqlzover 5 years ago
Wow! What an awesome tutorial&#x2F;book. I look forward to reading more chapters. This is already an extremely useful resource since it covers cross compilation from an x86 system. I love to play around with this kind of stuff in my free time but connecting to dev boards and constantly shifting paradigms was annoying enough to limit my enthusiasm. It took a lot of research to find out how to do what the author fits in a single chapter. Thank you for this awesome post!
Lichtsoover 5 years ago
Looks similar to my effort to interface RISC-V emulators and bare metal C: <a href="https:&#x2F;&#x2F;github.com&#x2F;Lichtso&#x2F;riscv-llvm-templates" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Lichtso&#x2F;riscv-llvm-templates</a>
ashort11over 5 years ago
I took Programing Languages from him, as well as TA&#x27;d for his Operating Systems class. He is an amazing lecturer, and I am glad he is releasing something like this to the public! Definitely something worthwhile to read. Looking forward to more content being released.
coldnoseover 5 years ago
Rust is build around the expectation that allocations happen automatically and can never fail. I’m curious to see how they deal with this in a kernel...
评论 #21138732 未加载
评论 #21138810 未加载
评论 #21141799 未加载
评论 #21138965 未加载
tomlongover 5 years ago
I see the author and I share a naming convention for our miscellaneous scripts, and `do.sh` appears prominently in both our work.<p>I subsequently branched out to e.g. `do-backups.sh`, where despite the `do-` being superfluous, I quite like the aesthetic.<p>Slightly more on topic: I really enjoy blog series like these, with plenty of detail on esoteric topics I really have no idea about, or on the face of it much interest in. They&#x27;re a fun way to increase the breadth of topics I have a superficial knowledge of.
loquorover 5 years ago
For someone with a standard CS undergraduate education, how much effort (in hrs&#x2F;week) would such an endeavour require?
评论 #21139045 未加载
GRBurstover 5 years ago
Since there are missing parts: Do you have a sheduling plan for the remaining posts?
评论 #21137151 未加载
turbletyover 5 years ago
Amazing tutorial, and really exciting for RISC-V. I hope he creates a patreon or some other donation platform, as it must take some time to write this up. I&#x27;m sure some people would be willing to send a bit his way.
评论 #21142368 未加载
mastrsushiover 5 years ago
Making X.....but using Rust!!!
GRBurstover 5 years ago
I really really like the first sentence<p>&gt; RISC-V (&quot;risk five&quot;) and the Rust programming language both start with an R, so naturally they fit together
评论 #21137481 未加载
评论 #21138523 未加载
评论 #21137505 未加载