4 ms·
One of the nice things about Oberon-07 is that the compiler I’ve played with could compile itself and the standard library all in a tiny fraction of a second.
by Koshkin 6y ago
One of the nice things about Oberon-07 is that the compiler I’ve played with could compile itself and the standard library all in a tiny fraction of a second.
- anta40 6y agoI take a look at the list and found this: https://github.com/prospero78/Oberon07ru https://github.com/prospero78/Oberon07ru Looks interesting. I wonder how hard/easy to port this to Linux/Mac, for example.
- Koshkin 6y agoI think Krotov’s is the one that I have tried. The package includes (or used to include) a simple IDE (a code editor) also written in Oberon, which provides another good example. http://exaprog.com/ http://exaprog.com/ https://github.com/AntKrotov/oberon-07-compiler https://github.com/AntKrotov/oberon-07-compiler Linux seems to be supported.
- MarcusE1W 6y agoIf you are looking for a Oberon compiler that is easy to port then you could consider OBNC. http://miasap.se/obnc/ http://miasap.se/obnc/ The compiler is written in C and should compile on many POSIX compatible systems. Works like a charm on the Pinebook Pro for example.
- lboasso 6y agoWhen I benchmarked oberonc [0], an oberon-07 self-hosting compiler for the JVM, it took about 100 ms with a hot VM on a old Intel i5 @ 2.80GHz. That compiler follows the same one-pass compilation approach. [0] https://github.com/lboasso/oberonc https://github.com/lboasso/oberonc
- amedvednikov 6y agoV compiles itself in 150 ms on my machine. 0.6 seconds on a free tier AWS instance: https://fast.vlang.io https://fast.vlang.io
- bvrmn 6y ago^^ We can insert that message as a definition of shameless plug in a dictionary.