Also to note, LLVM isn't the first compiler toolchain of its kind. Notable mentions, IBM's research project on PL.8 while developing their first RISC designs. https://rsim.cs.uiuc.edu/arch/qual_papers/compilers/auslande... https://pdfs.semanticscholar.org/3288/fc042cd474f0ec93d67753... https://rishiheerasing.net/modules/hca2102/paper/cocke.pdf The Amsterdam Compiler Toolkit, http://tack.sourceforge.net/ https://githu…
Similar is C-- https://en.wikipedia.org/wiki/C-- https://github.com/nrnrnr/qc-- https://web.archive.org/web/20080822062234/http://www.cminus...
QBE vs. LLVM
31–40 of 101 posts
Re: QBE vs. LLVM
#32Also to note, LLVM isn't the first compiler toolchain of its kind. Notable mentions, IBM's research project on PL.8 while developing their first RISC designs. https://rsim.cs.uiuc.edu/arch/qual_papers/compilers/auslande... https://pdfs.semanticscholar.org/3288/fc042cd474f0ec93d67753... https://rishiheerasing.net/modules/hca2102/paper/cocke.pdf The Amsterdam Compiler Toolkit, http://tack.sourceforge.net/ https://githu…
edit: libFIRM vs LLVM https://pp.ipd.kit.edu/firm/LLVM.html
Re: QBE vs. LLVM
#33Re: QBE vs. LLVM
#34Re: QBE vs. LLVM
#35What I’d like something similar to QBE, but that actually compiles/targets LLVM. So, essentially, a beginner-friendly intermediate layer on top of LLVM.
Re: QBE vs. LLVM
#36Earlier quoted context omitted.
LLVM does seem to be explicitly designed from the start to be "industry"-worthy rather than just academic research, though. It was actually offered to GNU years ago but (if I read the thread correctly) rms didn't get the email because of the unique way he does email. It's a shame it's not under the GPL, you can already see a sign of the future (present?) in apple not upstreaming their backends.
Apple doesn't upstream of their changes already, hence why you have a specific Apple column on cppreference. https://en.cppreference.com/w/cpp/compiler_support And the bitcode used by Apple Store for application delivery isn't 100% like the LLVM bitcode.
Historically they've been very good about upstreaming. Sometimes it takes a while, but so far everything made it to the public repo.
Re: QBE vs. LLVM
#37This sounds like it should be wrapped as an helper library on top of LLVM and embedded inside LLVM. Why it is not the case ?
Re: QBE vs. LLVM
#38Earlier quoted context omitted.
LLVM does seem to be explicitly designed from the start to be "industry"-worthy rather than just academic research, though. It was actually offered to GNU years ago but (if I read the thread correctly) rms didn't get the email because of the unique way he does email. It's a shame it's not under the GPL, you can already see a sign of the future (present?) in apple not upstreaming their backends.
Apple doesn't upstream of their changes already, hence why you have a specific Apple column on cppreference. https://en.cppreference.com/w/cpp/compiler_support And the bitcode used by Apple Store for application delivery isn't 100% like the LLVM bitcode.
Re: QBE vs. LLVM
#39I only hope that by we don't get a lot of new languages, which are not only not production ready but also poorly designed. ;)
Re: QBE vs. LLVM
#40Earlier quoted context omitted.
If it was licensed under GPL, my bet is that Apple would not have adopted it at all.
That's entirely possible, but does it hurt their bottom line? They switched from GCC, because LLVM was available (to grow and eventually use). Their aversion to the GPL seems mostly cultural, which is interesting given that we skewer microsoft for their sins along those lines 20 years ago now.
It's the same reason why bash and rsync have not been upgraded on macOS to newer versions: they also started using GPL3.