Show HN: QBE – a new compiler back end
1–10 of 72 posts
Re: Show HN: QBE – a new compiler back end
#2Re: Show HN: QBE – a new compiler back end
#3I've always found this sort of "I'm going to make my own" approche as being the best for innovation. I really hope this goes through and continues development.
Re: Show HN: QBE – a new compiler back end
#4Re: Show HN: QBE – a new compiler back end
#5How does this compare to libfirm[1]? 1. http://pp.ipd.kit.edu/firm/
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.
Finally, it is much less advanced (less optimizations, less tested) than libfirm and supports only x64 as a target.
This is a sketchy comparison.
Re: Show HN: QBE – a new compiler back end
#6Which to me reads as Qbe being entirely differently scoped, and therefor not an alternative.
Re: Show HN: QBE – a new compiler back end
#7This confuses me. The title says it's an alternative, but the text says it does not intend to solve all problems of industry-grade languages. Which to me reads as Qbe being entirely differently scoped, and therefor not an alternative.
Re: Show HN: QBE – a new compiler back end
#8This is just wrong, though! LLVM provides stack slots for a good reason: stack allocated variables can escape. You need a place in memory to stick them. If mem2reg can prove that the stack allocated variable doesn't escape, it gets promoted into an SSA value.
Re: Show HN: QBE – a new compiler back end
#9How much harder would it be to call C++?
Re: Show HN: QBE – a new compiler back end
#10> Very good compatibility with C code How much harder would it be to call C++?