Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You got me to check out GCC and QBE, and I say, not having to bother with SSA does seem to make things a bit easier, with GCC's Gimple being a kind of pseudo-assembly language, and Generic being almost C.

Still I think once you get over the hurdle of SSA-ifying your procedural code, LLVM is all right, and seems to be a lot more feature rich (I might be stupid, but I don't see how to make stack maps in GCC).

Also GCC is very lightly documented while LLVM seems to have quite good docs and tutorials.



You don't need SSA for LLVM.

Just emit load and store instructions, and it'll be converted automatically.

What SSA gives you is substantially easier analysis and optimizations on the intermediate representation, so much that all compilers use it (yes, even GCC).




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

Search: