14 ms·
Just for comparison the LOCs for some other small C or C like compilers. It's not that far away from Ritchie's C4x86 | 0.6K (ve
by nn3 3y ago
Just for comparison the LOCs for some other small C or C like compilers.
It's not that far away from Ritchie's
C4x86 | 0.6K (very close)
small C (x86) | 3.1K
Ritchie's earliest struct compiler | 2.3K
v7 Unix C compiler | 10.2K
chibicc | 8.4K
Biederman's romcc | 25.0K
- vgel 3y agoOh, C4 is neat—technically it has me beat since it also implements the VM to run the code—though their formatting definitely takes advantage of long lines :-)
- deleted 3y ago[deleted]
- userbinator 3y agoThis one is certainly stretching the definition of "C like", but it's just under 512 bytes : https://news.ycombinator.com/item?id=36064971 https://news.ycombinator.com/item?id=36064971