[Info-vax] The Kotlin language, something for VMS as well?
Dirk Munk
munk at home.nl
Wed Jul 12 20:14:16 EDT 2017
John Reagan wrote:
> On Wednesday, July 12, 2017 at 5:54:55 PM UTC-4, Dirk Munk wrote:
>> Brett Cameron wrote:
>>> Just FYI, I had a bit of a play around with Kotlin a few weeks back and pretty much all the JVM stuff seems to work okay on OpenVMS with Java 8 (the interactive shell has a couple of minor issues, but that’s about all I’ve hit so far)...
>> That's nice to know. I wonder if a LLVM compiler for x86-VMS can be
>> build as well, in the fullness of time.
> I would like to push back all the OpenVMS changes & additions to LLVM into the source tree (along with obtaining an OpenVMS "triple" to be official). The result should be that you can download some future LLVM code set and build it on OpenVMS x86. There are several things in the way right now but that is my long term vision.
That sounds good!
Building a VMS executable from modules compiled from any kind of VMS
language is one the the great features of VMS. However, Kotlin doesn't
know the VMS calling standard of course.
On this webpage:
https://github.com/JetBrains/kotlin-native/blob/v0.1.0/INTEROP.md
it is explained how Kotlin can call C library modules. So I suppose it
would be quite easy to write a few simple C modules that can add the VMS
calling standard to Kotlin.
More information about the Info-vax
mailing list