Re:Obfuscated Tiny C Compiler (2002)
by swah on Monday June 18, 2018 @08:29AM
(#17337690)
Is there ane big reason why TCC is so fast - other than, of course, doing less work that GCC ?
[ Parent
| on HN ]
Single pass compiler with back-patching. No intermediate code representation, very simple optimizer (just constant folding and dead code removal). C Preprocessor integrated with parser code. Back-end generates instruction opcodes instead of assembly, eliminating another stage.