On Fri, 21 Apr 2017 21:22:04 +0800, David Crayford ([email protected])
wrote about "LLVM ( wasRe: Swift on z/OS (was Data/hiperspaces (was: ...
4G bar?))" (in <[email protected]>):

[snip]
> IBM have ported LLVM/clang to z/OS. The beta of swift gives the game away

I have been using clang and LLVM on IA32 and AMD64 hardware for some few
years now. The optimization of C/C++ code is quite good.

> DOC:/u/doc: >swiftc --version
> Swift version 3.0-dev (LLVM , Clang , Swift )
> Target: s390x-ibm-zos
> 
> Interestingly they have a libbsd.a static library which appears to be a
> shim of the the BSD C/C++ runtime library.

No. The libbsd.a library contains some idiosyncratic, but more rational,
variants of Standard C Library functions, particularly for string
handling. I have been using these routines for some years too, and I
generally prefer them to the ISO standard functions. Look for functions
like strlcpy() and strlcat() as alternatives to strncpy() and strncat().

> Right now compiling Swift programs is agonizingly slow! And it's missing
> the foundation/core library which makes it quite useless to do anything
> meaningful.

That won't stop IBM from releasing it as the hot new thing. It could
soon be as fast as Java!
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
[email protected] (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to