←back to thread

304 points Bogdanp | 3 comments | | HN request time: 0s | source
Show context
lordleft ◴[] No.45241113[source]
I will never not find this kind of project incredibly impressive. It’s interesting to think that Linux, after all, is really just the kernel — and yet getting that work done paved the way to getting an open source version of Unix installed on billions of machines. Great stuff!
replies(4): >>45241149 #>>45241727 #>>45241785 #>>45241926 #
Someone ◴[] No.45241785[source]
> I will never not find this kind of project incredibly impressive

I wouldn’t call it incredibly impressive. The path on how to write a minimal multi-tasking kernel has been beaten decades ago.

Writing a kernel that can boot and do a few things is ‘just’ a matter of being somewhat smart and have some perseverance. Doing it for RISC-V complicates things a bit compared to x86, but there, too, the information about initialising the hardware often is easily obtained (for example: https://wiki.osdev.org/RISC-V_Meaty_Skeleton_with_QEMU_virt_... I wouldn’t know whether this project used that)

I think the author agrees, given (FTA) that they wrote “This is a redo of an exercise I did for my undergraduate course in operating systems”

It’s work, may be nice work, but I think everybody with a degree in software engineering could do this. Yes, the OS likely will have bugs, certainly will have rough edges, but getting something that can multi-process, with processes shielded from each other by a MMU isn’t hard anymore.

replies(4): >>45242029 #>>45242129 #>>45242225 #>>45244020 #
d_sem ◴[] No.45242129[source]
Is there a book one can read to learn how to create one?
replies(2): >>45242467 #>>45243565 #
esafak ◴[] No.45242467[source]
https://en.wikipedia.org/wiki/Operating_Systems:_Design_and_...
replies(2): >>45242887 #>>45243410 #
andrehacker ◴[] No.45243410[source]
That is an excellent recommendation. For Operating Systems anything Andy Tanenbaum did is world class.

This made me look up what he has been up to, there is a 2023 edition of "Modern Operating Systems" which covers cloud virtualization and Android along with everything that came before, hm, tempting.

replies(1): >>45244141 #
1. macintux ◴[] No.45244141[source]
We really need a Tech Writer Hall of Fame. W. Richard Stevens, Andrew Tanenbaum, P.J. Plauger. Others?
replies(1): >>45245952 #
2. ianmcgowan ◴[] No.45245952[source]
Kernighan!
replies(1): >>45246257 #
3. andrehacker ◴[] No.45246257[source]
And how can we leave out the OG of tech writers: Donald Knuth. He got a bit distracted by developing TeX but he got a well deserved Turing award for the series.