Shmuel Metz wrote:
>Now if they could just bring z/OS support for Kotlin, Lua,
>Perl, Raku, Ruby and Rust up to date ...
>Yes, bringing the port up to date includes first porting it ;-)
Let's take these in order....
1. As far as I know, as long as you use the Kotlin compiler to target a
Java Runtime Environment (JRE) -- the typical/usual pattern -- your
program will (also) run on z/OS. The basic command line compiler syntax is
as follows, assuming Kotlin source code in the file hello.kt:
kotlinc hello.kt -include-runtime -d hello.jar
java -jar hello.jar
There's also a potential future path that'll support Kotlin's LLVM target
(since z/OS now supports LLVM), but that's speculative.
2. There's a z/OS build of Lua available here:
http://lua4z.com
This is a circa 2014 build of Lua. Fundi Software created, maintains, and
supports this distribution, so if you'd like something newer then feel
free to inquire.
3. Rocket Software offers Perl for z/OS here (currently 5.24.0, which was
released on May 8, 2016):
https://www.rocketsoftware.com/zos-open-source
4. For Raku, go grab the Rakudo distribution and target a JVM
(--target=jar). Or use Rakudo.js to target Node.js (JavaScript) since
Node.js is available for z/OS:
https://www.ibm.com/products/sdk-nodejs-compiler-zos
To my knowledge there's no difficulty with either path.
5. JRuby is available:
https://www.jruby.org
The best implementation of Ruby for z/OS is probably currently the Docker
container image that runs in the z/OS Container Extensions:
https://hub.docker.com/_/ruby
6. Rust will need LLVM, now available on z/OS. However, you can already
compile and run Rust code via the z/OS Container Extensions.
- - - - - - - - - -
Timothy Sipples
I.T. Architect Executive
Digital Asset & Other Industry Solutions
IBM Z & LinuxONE
- - - - - - - - - -
E-Mail:
sip...@sg.ibm.com