AIX Open Source

 View Only
Expand all | Collapse all

rust on AIX

  • 1.  rust on AIX

    IBM Champion
    Posted Wed October 21, 2020 08:43 AM
    are any plans to port rust (Rust) to AIX?

    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------


  • 2.  RE: rust on AIX

    Posted Wed October 21, 2020 09:29 AM
    Rust needs llvm backend which is not yet available on AIX.
    So this will require some good amount of work to port Rust on AIX. 
    May I ask what is your use case ?

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: rust on AIX

    IBM Champion
    Posted Wed October 21, 2020 09:34 AM
    Hi Sanket, as far as I know, the new XL C/C++ compiler is built using LLVM. That's why I suppose, that LLVM is already ported to AIX. My use case is very simple - the new InfluxDB 2.0 uses both Golang and Rust. Without Rust I will not be able to compile it on AIX.

    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 4.  RE: rust on AIX

    Posted Wed October 21, 2020 09:47 AM
    XL C/C++ are not based on LLVM. But there is work going on for porting llvm for AIX
    https://lists.llvm.org/pipermail/llvm-dev/2019-February/130175.html

    This will take some time until we do not have llvm backend rust will not be possible on AIX.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 5.  RE: rust on AIX

    Posted Thu May 26, 2022 07:27 AM
    Hi,

    There is any news on porting rust to AIX?
    As far as I could understand, llvm is already available.

    TIA,
    Daniel

    ------------------------------
    monitor monitor
    ------------------------------



  • 6.  RE: rust on AIX

    Posted Mon May 30, 2022 07:08 AM
    Edited by SANKET RATHI Mon May 30, 2022 07:09 AM
    Yes llvm now works on AIX but when we evaluated Rust porting it is very involved effort and we are working on a plan within IBM how to contain.
    It is not easy port as it requires integrated assembler and linker to also work on AIX as well.
    Rust work is very different from c/c++ hence it is not easy to adapt. 
    Right now I can not provide any definitive answer but we are evaluating options.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 7.  RE: rust on AIX

    Posted Fri November 18, 2022 08:45 AM

    Hi Sanket,

    Just wanted to check if anything has changed since May. At Datadog we're also interested in learning what the future of Rust on AIX is.

    Kind regards,

    Marcus



    ------------------------------
    Marcus Hirt
    ------------------------------



  • 8.  RE: rust on AIX

    Posted Tue November 22, 2022 08:30 AM
    It is a work in progress. Look at here --> https://github.com/rust-lang/compiler-team/issues/553

    ------------------------------
    Ayappan P
    ------------------------------