[llvm-dev] A "Java Backend"
David Chisnall via llvm-dev
llvm-dev at lists.llvm.org
Tue Jul 19 08:28:00 PDT 2016
On 19 Jul 2016, at 15:52, Sanjoy Das <sanjoy at playingwithpointers.com> wrote:
> But you're right that it will still be difficult to naively
> inter-operate between Java and C++ objects. Which is why it will be
> an interesting research project. :)
There have been a few attempts at C to Java compilation, though I’m not sure of the current status of any of them. gcj implements Java classes using the same ABI as C++ classes, effectively treating Java as a subset of C++ (plus garbage collection). It might be interesting to start with the same subset of C++ that Microsoft has used for one of their various C++-on-the-CLR implementations and work from there. I think Alp Toker had some parsing for MS managed C++ extensions and CLR code generation working a few years back, but I’m not sure what happened to his code.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3719 bytes
Desc: not available
More information about the llvm-dev