Re:C--
by mattgreenrocks on Sunday October 27, 2013 @09:47AM
(#6621920)
Do you think LLVM IR covers this ground adequately, despite not being cross-platform?
[ Parent
| on HN ]
I'm not really a language implementor, more of a spectator of language implementations, so someone with more experience would give a better answer.
My impression is that the GHC people, at least, still think that C-- is a nicer IR than LLVM-IR for their purposes. But they are slowly moving more things to LLVM anyway, because the LLVM project as a project has, in the meantime, built up a lot more momentum and infrastructure. In the early 2000s this wasn't obvious, but in 2013 it's clear that LLVM has an ecosystem, institutional support, resources to maintain ports, etc., while C-- didn't manage to get the same traction.
Re:C--
by thinkmoore on Sunday October 27, 2013 @10:57AM
(#6622112)
From my personal experience, LLVM is tied a bit to closely to the C ABI, which makes it difficult to implement some FP features cleanly. One example is forgoing C's stack discipline to implement double-barreled continuations.