TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

BareMetal OS: A 64-bit Operating System in only 16KiB

60 点作者 iseyler超过 14 年前

9 条评论

tankenmate超过 14 年前
Wow, from the queue presentation this OS looks even less usable than DOS (MS aka Q). Why would the CLI terminate when it runs a programme? How do you run more than one programme at once? If each core polls the run queue does that mean that it busy cycles when there is no more work to do? Won't this waste energy? (A sin in the HPC world). Does it do the same for IO? IO request completion on a slow and/or busy disk could take as long as 50ms, for a 2.5GHz CPU for example this is 125 million clock cycles. Will the CPU busy cycle this as well?<p>If you want a simple OS that fits a lot into a small space, why not get a copy of the Lions' Commentary and translate the edition 6 kernel into asm. If you wanted to go gung ho you could add a simple BKL, demand paging and a network stack to complete the job. You could probably do all the above and keep it somewhere close to 20,000 lines of assembly (excluding drivers).<p>If you are looking for an education doing the above will probably do you just as good a job as trying from scratch.<p>Lions' Commentary on UNIX 6th Edition, with Source Code <a href="http://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th_Edition,_with_Source_Code" rel="nofollow">http://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th...</a><p>The Art of Computer Programming <a href="http://en.wikipedia.org/wiki/The_Art_of_Computer_Programming" rel="nofollow">http://en.wikipedia.org/wiki/The_Art_of_Computer_Programming</a>
评论 #1700111 未加载
评论 #1699536 未加载
mathgladiator超过 14 年前
Keep it up, I love new OSes.<p>My dream is to write a cloud programming language that compiles high level code to a low-level kernel and deploys. I abhor waste, so efforts like this are a great start. I look forward to more!
评论 #1699034 未加载
评论 #1698672 未加载
评论 #1698889 未加载
评论 #1698895 未加载
评论 #1700065 未加载
junkbit超过 14 年前
The spin-off Pure64 looks very interesting. It looks like they have factored out the code for getting up and running with your own project:<p>"The loader gets the computer into a full 64-bit state with no legacy compatibility layers and also enables all available CPU Cores in the computer."<p>"Two very simple kernels are included to get you started with your new 64-bit OS (One written in Assembly, the other in C)."
评论 #1698801 未加载
评论 #1699323 未加载
shawndumas超过 14 年前
<a href="http://www.returninfinity.com/baremetal.html" rel="nofollow">http://www.returninfinity.com/baremetal.html</a>
dryicerx超过 14 年前
This reminds me of MenuetOS (<a href="http://www.menuetos.net" rel="nofollow">http://www.menuetos.net</a>), although a bit larger BareMetal OS, still manages to cram in a unholy amount of functionality in to a couple of megs.
评论 #1699489 未加载
cschneid超过 14 年前
Other than the academic nerdiness of minimal OSs, what is this good for?<p>Do modern OSs cause too much overhead for certain operations?
评论 #1699515 未加载
评论 #1699037 未加载
评论 #1699164 未加载
评论 #1699122 未加载
JoeAltmaier超过 14 年前
Could be useful if it did something new - support virtual apps, manage restartable/persistent state processes, something. Just another thread/memory/interrupt kernel? Why?
评论 #1699384 未加载
评论 #1699638 未加载
orblivion超过 14 年前
So is this like the demoscene stuff or is there a practical use for it?
评论 #1699113 未加载
antidaily超过 14 年前
Can you play Doom on it?