Llvm-Cbe: Resurrected LLVM “Bitcode to C Back End” with Improvements
github.com
github.com
http://lists.llvm.org/pipermail/llvm-dev/2010-February/02965...
Is there a wider interest in resurrecting this for wider use?
There are a few other languages I would love to be able to use with this.
Quite possibly yeah. Jameson had to do quite a bit of work to get the backend to a point where it would reliably work on the IR we generate. Now, julia does have a pretty wide coverage of LLVM IR, so it's probably not terrible, but as always the test cases used in development determine what works and everything else probably requires some work (actually very similar to the regular LLVM backends - whenever we port to a new architecture we first end up having to fix about a dozen bugs to do previously unexercised code paths).
| Is there a wider interest in resurrecting this for wider use?
We don't currently have an active use case. Jameson has been maintaining it on low flame and merging pull requests/doing some cleanup here and there, but since we're not actively using it, there is of course a limit to that. There has been some activity on the repository recently though, so you're not the only one interested.
a(b(c)) became int val = b(c) a(val)
even though val never was used anymore after this
Either way pretty cool!