IBM Z and LinuxONE IBM Z

  • 1.  Is there a way to compile Rust language on z/OS 2.x ?

    Posted Tue September 08, 2020 11:25 AM
    Hello,

    Everything in the subject of this thread :D
    Is there a way to compile Rust language on z/OS 2.x ?

    I know ASM, C, C++ and COBOL are cool but maybe Rust is very cool too.
    It seems there is a version for s390x architecture (zLinux ?) maybe there is a z/OS 2.x version anywhere ? 

    If anyone knows about Rust on z/OS, it would be very much appreciated.

    Thank you :)

    ------------------------------
    Stephane BRUN
    z/OS system engineer
    Euro Information
    Nantes
    ------------------------------


  • 2.  RE: Is there a way to compile Rust language on z/OS 2.x ?

    Posted Wed September 09, 2020 02:55 PM
    Stéphane,
    is there is a version available for the s390x architecture, then you could consider deploying it under z/OS in a  zCX z/OS Containers Extensions instance. zCX is only available with z/OS 2.4 and it requires z14 or later servers. See Getting started with z/OS Container Extensions and Docker | IBM Redbooks
    Ibm remove preview
    Getting started with z/OS Container Extensions and Docker | IBM Redbooks
    IBM® z/OS® Container Extensions (IBM zCX) is a new feature of the next version of the IBM z/OS Operating System (z/OS V2.4). It makes it possible to run Linux on IBM Z® applications that are packaged as Docker container images on z/OS.
    View this on Ibm >
    for more information

    ------------------------------
    philippe richard
    IBM Systems Lab Services
    ibm france
    montpellier
    ------------------------------



  • 3.  RE: Is there a way to compile Rust language on z/OS 2.x ?

    Posted Thu September 10, 2020 06:17 AM
    Maybe some people has specific needs to run z/OS CX on their z/OS. On my side I speak about native z/OS applications (developped with RUST) to manage directly mainframe datasets like it is possible with C or C++ through language environment runtime for example.

    So, I guess it is not possible at this time.

    Thank you.

    ------------------------------
    Stephane BRUN
    z/OS system engineer
    Euro Information
    Nantes
    ------------------------------



  • 4.  RE: Is there a way to compile Rust language on z/OS 2.x ?

    Posted Fri September 11, 2020 03:15 PM
    Hi Stephane,

    I like that you're thinking about this :)

    Since IBM is working on LLVM support for XL C/C++, and on introducing Golang to Z, I would think that once LLVM is properly supported on the platform, adding support for Rust will be doable.

    Native support for Rust in z/OS will allow the next gen of mainframe software to truly shine - async executions (hoping more zIIP offload!), safe multi-threading.

    However, until then, I don't think it's worth setting up zCX just to get to Rust s390x... for all the needless complexity of Docker & co.
    There was another announcement saying OCI compliant container support will be brought natively to z/OS.

    z/OS native containers + Rust = sweet nectar for next-gen system programmers :)

    ------------------------------
    Vignesh
    ------------------------------



  • 5.  RE: Is there a way to compile Rust language on z/OS 2.x ?

    Posted Tue March 09, 2021 03:52 PM

    Hi, Stephane,

    we're interested in having this, too. If we get access to LLVM on the Mainframe we could try to port Rust. Hopefully, there's a way to get to LLVM ;-)
    Today we're experimenting with https://github.com/JuliaComputing/llvm-cbe if we can compile Rust to C, and then use XLC.

    Yours,

    VB.
    --
    Volker Birk, Head of Development
    pEp project https://pEp.security



    ------------------------------
    Volker Birk
    p≡p project
    https://pEp.software
    ------------------------------