News for hackers. Stuff that matters.
Re:SmallerC – Small, Simple, Self-Compiling, Single Pass C C... by WalterBright on Sunday October 15, 2017 @04:42PM (#15479193)
I re-used the Digital Mars C++ optimizer and back end for the dmd D compiler, so that would be like using LLVM for an optimizer and back end.

I still wind up spending nearly all my time on the D front end, and not the lexer/parser. The time spent on the lexer/parser is a rounding error.

Besides, build the lexer/parser by hand. The mystery of how to do them will evaporate, and you'll find you can apply that knowledge to all sorts of other tasks.

There are no comments on this comment yet.