On 1/12/2017 2:21 AM, Frank Swarbrick wrote:
I have a heavy, perhaps unjustified prejudice, against Java and the JVM.

I used to feel that way. I still don't like Java the language very much but I've learned to love the JVM.

I like "native compiled" languages, and I am very happy that IBM is looking to 
have Swift as another native compiled language on z/OS.

Agreed. There's anecdotal evidence that IBM are working on a z/OS port of Googles Go language to add to Node.js and Swift. Kotlin can run native as well compiled using the same LLVM backend that Swift uses. IBM would need to open up LLVM to make that possible on z/OS.

Swift on z/OS seems to be targeted for web apps using the Kitura framework utilizing the seamless interop with traditional z/OS languages to modernize legacy applications.

That being said, I know nothing about Kotlin other than what I read yesterday after 
seeing your original message.  Since Kotlin does run on a JVM, shouldn't it already 
"just work" on z/OS?

All JVM languages run well on z/OS with a few tweaks.

________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of David 
Crayford <dcrayf...@gmail.com>
Sent: Wednesday, November 29, 2017 7:05 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SAS - DB2 conversion to Java

On 30/11/2017 9:11 AM, Frank Swarbrick wrote:
I've never heard of Kotlin, but it seems to me that Android would be better off 
supporting Swift before it goes another direction.  Or does it already support 
Swift?
The three supported programming languages on Android are Java, Kotlin
and C/C++ for native code. Android runs Googles Dalvik JVM so it
requires a JVM language. For z/OS I would choose Kotlin over Swift any
day of the week. It's a no brainer really, it can access the gargantuan
Java eco-system and it runs on a zIIP. The languages are very similar
http://nilhcem.com/swift-is-like-kotlin/.

________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of David 
Crayford <dcrayf...@gmail.com>
Sent: Tuesday, November 28, 2017 7:15 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SAS - DB2 conversion to Java

On 29/11/2017 8:00 AM, Andrew Rowley wrote:
- I think the reporting is SQL based? SMF data was not designed to be
queried using SQL. I have been down that path. On the other hand, Java
classes are beautiful for working with SMF data (not quite as nice as
C# but still very good).
If you like C# you should take a look at Kotlin, which is even better
and runs on the JVM. It's quickly becoming the language of choice for
Android developers which is no surprise giving it's similarities to
Swift
https://android-developers.googleblog.com/2017/05/android-announces-support-for-kotlin.html.

Java doesn't feel like a new language. It lacks features introduced in
other languages over a decade ago. Java 10 introduces type inference but
it's too little too late. Check out Kotlins Nullable feature. No more
NullPointerExceptions, yay! data classes, properties, a really powerful
lambda syntax and seamless Java interop make it a joy to program in. The
learning curve for Java programmers is small. It took me a couple of
days which is significantly less then the far more complex Scala which I
have yet to completely master.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to