4 ms·
Wasn't tcc able to do the same[1] quite a while ago? [1]: http://bellard.org/tcc/ http://bellard.org/tcc/
by mhd 16y ago
Wasn't tcc able to do the same[1] quite a while ago?
[1]: http://bellard.org/tcc/ http://bellard.org/tcc/
- praptak 16y agoEven better, it could compile and boot Linux directly from its source code: http://bellard.org/tcc/tccboot.html http://bellard.org/tcc/tccboot.html
- mahmud 16y agoI don't think tinycc and llvm are even in the same league in terms of optimizations. Tinycc is, well, tiny. You can get a working compiler just using syntax-directed translation schemes and it would compile any valid program. The output would even boot, but it would make baby-Muchnick cry.
- mhd 16y agoTrue, no one is comparing their performance characteristics, it's just that getting the Linux kernel to compile isn't a unique feat where you need to be on the same level as gcc and llvm. You "just" need ANSI C with GNU extensions. And not break on a couple dozen corner cases.