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.

NetBSD Code Study

88 pointsby jayp1418almost 5 years ago

4 comments

silasdbalmost 5 years ago
Author here. Thanks for posting this. This is something I wanted to continue. The plan is still discussing NetBSD source code, as much as I can. Reading NetBSD code is a great way to learn operating systems! :-)
评论 #23536185 未加载
评论 #23537228 未加载
评论 #23535485 未加载
pwdisswordfish2almost 5 years ago
I always found it noteworthy in that the designers of Microsoft Windows did not consider co-existance with other OS on the same computer, i.e., "dual-booting". When I install NetBSD I never have to worry about it clobbering any code needed by other OS to boot. Not sure about today, but years ago Windows used to require being installed in the first bootable partition. If some other OS code occupied that position it was clobbered. On the other hand, the designers of NetBSD seem to have considered the possible co-existence with other OS on the same computer. To me, that is great design. NetBSD has this author's favorite bootloaders and I consider their kernels more flexible to boot than Linux kernels. I do not use grub. NetBSD has long supported the 1995 multiboot specification. Years ago, Linux did not. Perhaps that has changed. It always seemed like there were only a limited number of bootloaders that could boot Linux.
评论 #23536964 未加载
评论 #23537451 未加载
评论 #23539113 未加载
评论 #23537039 未加载
评论 #23536623 未加载
评论 #23536754 未加载
评论 #23538699 未加载
yjftsjthsd-halmost 5 years ago
Oh, this is very nice:) One question: Why does this page open with a link to FreeBSD docs? (Just general information on x86 boot process? Is this code similar/shared between the BSD family members?)
评论 #23557540 未加载
GeertVLalmost 5 years ago
Well done. It gives me inspiration to go through other codebases (Rust compiler, Go compiler, .NET Roslyn, ...)