5 ms·
Project Oberon, which illustrates that you can create a full interactive OS with rather small amont of code... if you ignore most of the things that we consider
by theamk 7y ago
Project Oberon, which illustrates that you can create a full interactive OS with rather small amont of code... if you ignore most of the things that we consider essential today, like structs and constants.
https://inf.ethz.ch/personal/wirth/ProjectOberon/Sources/Kernel.Mod.txt https://inf.ethz.ch/personal/wirth/ProjectOberon/Sources/Ker...
- eterps 7y agoHuh? Oberon has both structs and constants.
- theamk 7y agoSure, Oberon-the-language has structs and constants, but Oberon-the-OS does not not use them consistently. Take a look at this code from memory allocator (from link in my GP comments): ELSE GetBlock128(q); SYSTEM.PUT(q+64, 64); SYSTEM.PUT(q+68, -1); SYSTEM.PUT(q+72, list2); what do you think will happen if someone proposes this code into libc or Linux kernel? What kind of feedback would this receive today?
- eterps 7y agoGood example, I see your point.