3 ms·
> implement the GCC C extensions necessary for the CRuby JIT implementation That's the point where "C is nice and simple, it's easy to whip up a compiler" inva
by tom_mellior 7y ago
> implement the GCC C extensions necessary for the CRuby JIT implementation
That's the point where "C is nice and simple, it's easy to whip up a compiler" invariably turns into "why the #^(&)# didn't I use an existing frontend?". Real-world C code is messy. The entire sub-project of implementing a C compiler is a needless distraction that will turn into a huge time-suck with zero benefit to the author.
See also: "Why Says C is Simple?" https://people.eecs.berkeley.edu/~necula/cil/cil016.html https://people.eecs.berkeley.edu/~necula/cil/cil016.html