3 ms·
If you're writing a real honest-to-God compiler (source language to hardware execution, not a Java/Ruby/Python VM targeted language) these years, and you don't
by cpr 18y ago
If you're writing a real honest-to-God compiler (source language to hardware execution, not a Java/Ruby/Python VM targeted language) these years, and you don't start with LLVM (http://llvm.org http://llvm.org) as a basis for code generation, you're really missing the boat.
As an old compiler hacker (from the early 70s), what I've seen of LLVM is that it's a world-class foundation.
- barrkel 18y agoUnfortunately, it doesn't do exceptions well - certainly not Windows SEH, and it relies on DWARF2 exception tables + specific runtime library unwinding support. Apart from that, and the slowness of its instruction selector, though, it's pretty good.