C compiler in 40 days

C compiler in 40 days

Sergey Abbakumov

Rui Ueyama has written a fully working C compiler in 40 days called 8cc: https://www.sigbus.info/how-i-wrote-a-self-hosting-c-compiler-in-40-days.html.


Remarkably, Rui compared his implementation with GCC, as well as with TCC. TCC (Tiny C Compiler) is the offspring of Fabrice Bellard, an outstanding French programmer, author of FFmpeg, QEMU and other cool programs.

At the end of the development, Rui was able to compile his own compiler, passed all the TCC test suits, was able to link with the modules compiled by other implementations.

Telegram channel: https://t.me/sea_plus_plus



Report Page