[Info-vax] The Kotlin language, something for VMS as well?
Dirk Munk
munk at home.nl
Tue Jul 11 16:26:12 EDT 2017
Simon Clubley wrote:
> On 2017-07-11, Dirk Munk <munk at home.nl> wrote:
>> I read an interesting story about Kotlin, a kind of next generation Java.
>>
>> It has many similarities with Java, but also some big improvements.
>>
>> At the moment you can compile a source to a .jar file, and run it with a
>> Java Virtual Machine, or compile it to Javascript.
>>
>> However, in future (already in test phase), it will be possible to
>> compile Kotlin programs with a LLVM compiler, and produce executables.
>>
>> Here you can read more about it:
>>
>> http://kotlinlang.org/
> Interesting.
>
> The one thing which really stood out for me on that page is the ability
> to nest block comments within block comments. That is a bad idea if it
> functions literally as comment block nested within comment block without
> any sanity checks by the compiler.
>
> Oh, and if people keep abbreviating syntax in this way then we are
> going to eventually end up with a situation where someone thinks it's
> a good idea to come up with a modern version of APL. :-)
>
> Simon.
>
Well, what I found very special is that you can use the same language to
produce a piece of Javascript, a .jar object that can be executed with a
JVM, and by using a LLVM compiler, a real executable.
If I understand this correctly, it is quite simple to add pieces of C
code, and that means you could add the VMS calling standard with one or
more C modules. And then you have another new VMS language.
If I'm not mistaken, LLVM is used on x86-VMS as well?
More information about the Info-vax
mailing list