Re:Selfie – Tiny self-compiling C compiler, RISC-V emulator ...
by giancarlostoro on Wednesday February 26, 2020 @04:27PM
(#22427532)
I'm looking into self-hosting compilers, is there a good link for Oberons code that achieves this? Or you just are mentioning that Oberon would probably be able to if one were implemented?
[ Parent
| on HN ]
Re:Selfie – Tiny self-compiling C compiler, RISC-V emulator ...
by kryptiskt on Wednesday February 26, 2020 @04:53PM
(#22427770)
Oberon is implemented in itself: http://www.projectoberon.com
The implementation includes the hardware too.
Taken together, the system including single-tasking OS, windowing system and Oberon takes about 9000 lines of code.
Re:Selfie – Tiny self-compiling C compiler, RISC-V emulator ...
by alexisread on Thursday February 27, 2020 @05:45AM
(#22432211)
Even better, A2/bluebottle is multithreaded with a ZUI and runs faster than Linux:
https://www.research-collection.ethz.ch/bitstream/handle/20....
Also, following on from A2, Composita introduces a component architecture to allow managed memory without GC, and contextless switches (IMHO better than Rust):
http://concurrency.ch/Content/publications/Blaeser_Component...