Hacker News new | past | comments | ask | show | jobs | submit login

Is there ane big reason why TCC is so fast - other than, of course, doing less work that GCC ?



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: