On 28/02/2023 11:28 pm, Seymour J Metz wrote:
What about Java? How well does JIT work?
Java and the JIT compiler is very good. It always depends on the benchmark. For some stuff I think it's close to C. JIT compiles to machine code, and there are optimizations available in a JIT compiler that are not available to a regular compiler so there's no reason it wouldn't be fast. If your CPs are not full speed the zIIP gives an extra speed bonus.
There is a cost to start the JVM. On my system that seems to be roughly 1 second each time you run a Java program. This is where Rexx etc gain an advantage for small programs.
The Achilles heel for Java on z/OS seems to be dataset I/O. It's adequate, but feels like it should be faster. (I haven't actually done direct comparisons with other languages.)
-- Andrew Rowley Black Hill Software ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
