Kirk, IIRC Node.js was one such technology.  I don’t have a lot of familiarity 
on the tech but from what I remember it was not possible to “port” the engine 
because it directly generated x86 instructions (I was told) so it basically 
compiled the code to x86.  IBM had a challenge getting it on z/OS because of 
this.  Given there is now ARM, x86, s390x I presume that the architecture has 
changed, but like I said, my information was from the sidelines.  That is not 
an easy port.

Matt Hogstrom
m...@hogstrom.org

How many legs does a dog have if you call the tail a leg?  Four. 
Calling a tail a leg doesn't make it a leg.
- Abraham Lincoln

> On Apr 25, 2022, at 9:08 AM, Kirk Wolf <k...@dovetail.com> wrote:
> 
> It's pretty good  (s390x linux software), but it seems to me that this is not 
> without some friction:
> 
> - OSS sometimes has compile paths that take advantage of x86 instructions for 
> optimization, e.g. SSE.  Nearly all of the time there is a C path, but that 
> doesn't mean that the code will perform well in all cases.
> 
> - pre-built repositories/packages/container images for arch=s390x are often 
> harder to find other than the main distro stuff.   Maybe this is getting 
> better; my experience with it is not totally current.
> 
> - will vendors with proprietary closed source software support arc=s390x 
> packages (and for zCX, container images)?  Many, but certainly not all.
> 
> 
> On Mon, Apr 25, 2022, at 12:11 AM, David Crayford wrote:
>> On 25/4/22 11:37, kekronbekron wrote:
>>> What about code that does CPU instruction set specific things.
>>> How likely is the success of its compilation on s390x with minimal work.
>> 
>> About 100% likely. Linux is Linux is Linux. IBM have ported all the 
>> compiler tool-chains such a GCC, LLVM/Clang etc. In the case of LLVM, 
>> it's used to build other compilers and runtimes such as Rust, Swift, 
>> Golang etc. You can cross-compile if you don't have access to Linux on Z 
>> but then you wouldn't have tested it :)
>> 
>> 
>>> If it's "easy", why is the IBM Z and LinuxOne Open Source list not bigger 
>>> -https://www.ibm.com/community/z/open-source-software/
>> 
>> I have no doubt there's a lot more available then what's listed in that 
>> community. It's awesome that IBM have ported LuaJIT to s390x. It should 
>> be possible to port that to z/OS and then OpenResty and Kong. 
>> https://github.com/linux-on-ibm-z/LuaJIT/blob/v2.1/src/vm_s390x.dasc
>> 
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>> 
> 
> Kirk Wolf
> Dovetailed Technologies
> http://dovetail.com
> 
> ----------------------------------------------------------------------
> 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