Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Project Oberon RISC5 CPU Emulator (pythonoberon.readthedocs.io)
3 points by eterps on May 27, 2019 | hide | past | favorite | 5 comments


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/Ker...


Huh? Oberon has both structs and constants.


Sure, 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?


Good example, I see your point.


Not to be confused with RISC-V: https://en.wikipedia.org/wiki/RISC5




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: