Live data from Hacker News

Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor

selfie.cs.uni-salzburg.at

11–20 of 32 posts

Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor

#18
post #3

I think Oberon would be a better candidate for this than C. You could get a tiny and extremely fast compiler for a full-featured programming language.

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?

You might be interested in oberonc [0] an oberon-07 self-hosting compiler for the JVM.

[0] https://github.com/lboasso/oberonc

Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor

#19
post #10

The C subset it compiles is called C* but it appears unrelated to the language of the same name created for the Connection Machine hardware: https://en.wikipedia.org/wiki/C*

At least it's not mosdef C =P

Still doesn't shine a candle to Holy C.

Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor

#20
post #3

I think Oberon would be a better candidate for this than C. You could get a tiny and extremely fast compiler for a full-featured programming language.

Funny because Selfie reminds me of a maximally compact version of http://www.projectoberon.com/
Post reply on HN