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.

Xv6, a simple Unix-like teaching operating system

118 pointsby falavaover 4 years ago

9 comments

lordleftover 4 years ago
This is super interesting -- for folks who are worked on or with this, what makes Xv6 well-suited for teaching OS concepts? What aspects of the OS are less robust / filled out than a standard Linux or BSD distro? I'm curious about the pedagogical considerations behind this OS.
评论 #24570618 未加载
评论 #24573485 未加载
评论 #24571074 未加载
评论 #24570885 未加载
评论 #24570573 未加载
alexellisukover 4 years ago
Great excuse to rewrite user-space utilities - <a href="https:&#x2F;&#x2F;github.com&#x2F;mit-pdos&#x2F;xv6-riscv&#x2F;tree&#x2F;riscv&#x2F;user" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mit-pdos&#x2F;xv6-riscv&#x2F;tree&#x2F;riscv&#x2F;user</a>
jeffrallenover 4 years ago
Xv6 is great, I taught an OS course on it at my employer once. One of my colleagues manned to creat a &#x2F;dev&#x2F;audio for it and play an MP3.
Rotten194over 4 years ago
If you&#x27;re interested, I wrote a blog post a few years ago about how to implement a syscall (getcwd) on Xv6: <a href="https:&#x2F;&#x2F;vgel.me&#x2F;posts&#x2F;pwd_command_xv6&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vgel.me&#x2F;posts&#x2F;pwd_command_xv6&#x2F;</a>
jjiceover 4 years ago
My OS class that I&#x27;m currently taking sues Xv6 as a base for learning about OS implementation. The documentation is great and it clocks in under 10K lines if I&#x27;m remembering correctly. I&#x27;m really enjoyed working with it in class so far.
ngcc_hkover 4 years ago
Can it work with fpga etc. so still learning but one learn more. Also with general pin in out more scope. Not just IT
axblountover 4 years ago
Are there any other good minimal teaching operating systems out there? Unix-like or not.
评论 #24572617 未加载
评论 #24573959 未加载
评论 #24572621 未加载
qnttyover 4 years ago
Looks like this was recently re-written for RISC-V. Maybe it should be called Rv6 now.
评论 #24573639 未加载
loegover 4 years ago
Formerly:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22511569" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22511569</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17592560" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17592560</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10566312" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10566312</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7558081" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7558081</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6971127" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6971127</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3753216" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3753216</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2335824" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2335824</a>
评论 #24571174 未加载
评论 #24572104 未加载