4 ms·
It is a single pass compiler, that doesn't do many optimizations. Fun factoid: TCC is sort of predecessor to QEMU.
by hawski 4y ago
It is a single pass compiler, that doesn't do many optimizations. Fun factoid: TCC is sort of predecessor to QEMU.
- phyrex 4y agoThey’re both from the same guy
- masklinn 4y agoYes, but beyond that qemu was pretty much fabrice nerdsniping himself: he initially wanted to make the tcc backend more flexible (to support other targets than x86), then started playing with making the frontend more flexible, at one point he started to make the frontend take in compiled machine code, and that's the starting point of qemu: a dynamic recompiler / machine code translator, rather than a traditional emulator.