Live data from Hacker News

Show HN: QBE – a new compiler back end

c9x.me

71–72 of 72 posts

Re: Show HN: QBE – a new compiler back end

#71

Earlier quoted context omitted.

that would be painfully slow, as it stands now, qbe is actually quite a lot faster than gcc and clang.

So the 70% performance was about compiler performance, not compiled code performance?

no, the compiled code performance is slower than gcc, but the compiler itself executes far faster.

Re: Show HN: QBE – a new compiler back end

#72
post #5
post #4

How does this compare to libfirm[1]? 1. http://pp.ipd.kit.edu/firm/

It's much much smaller (I think libfirm is over 100kloc, QBE is about 6k). But the major difference is the IL: I use a human-readable and easily-printable text IL. This means that you don't need a graph-viewing tool to read the IL (it's just text) and that you can modify the IL between two passes super easily. This simple IL is a blessing when debugging a compiler. I think QBE also has better support for the x64 ABI.…

Its probably also easy for you to output a symbol-file to be used by IDE/editors, right?
Post reply on HN