[Info-vax] The Kotlin language, something for VMS as well?
Arne Vajhøj
arne at vajhoej.dk
Thu Jul 13 14:00:06 EDT 2017
On 7/13/2017 9:00 AM, Bill Gunshannon wrote:
> On 7/13/2017 8:38 AM, Dirk Munk wrote:
>> Jan-Erik Soderholm wrote:
>>> I also thought that you need a language specific frontend to LLVM,
>>> much as you need for GEM. Maybe LLVM can produce code runable
>>> in the JVM, no idea...
>>
>> Yes, of course you need a language specific frond-end. However the
>> source for this frond-end seems to be the same for every OS, with the
>> exception of a few OS specific parts. In other words, it is rather
>> simple to build a LLVM compiler for any OS, since every supported OS
>> has a LLVM package that will allow you to build such compilers. At
>> least that is my understanding.
>>
>> LLVM certainly is not meant to produce code for the JVM.
>
> No reason why it couldn't. Bytecode for the JVM is no different than
> the binary for any other architecture. Someone just needs to create
> that backend.
There is actually two places where Java could use LLVM.
javac : compiling Java source to Java byte code
JIT compiler inside JVM : compiling Java byte code to native code
I would think the last use would be most interesting as the first
is relative simple.
Arne
More information about the Info-vax
mailing list