On 5/04/2025 5:02 am, Steve Beaver wrote:
JAVA is not magical - It's actually a POS
It is slow and cumbersome. Its 12 times slower
Than COBOL and difficult to debug
I'm not defending what DOGE is planning, but that statement about Java
is wrong. Maybe Java automatically generated from COBOL is 12 time
slower - that wouldn't surprise me - and I'd run a mile from having to
maintain if afterwards. But that doesn't apply to Java in general.
If you have Java code that is 12 times slower than COBOL I'm sure I
could rewrite it, probably faster than COBOL. (Assuming it's not
something that only runs for hundredths of a second - yes, the JVM
startup has overheads, probably tenths of a second these days).
I'm writing programs to process SMF data, and processing CICS records
runs up to about 1 gigabyte per second (uncompressed record size),
including decompressing the records in Java. Could you process 12GB/s in
COBOL? I doubt it.
I would say it's also easier to debug than COBOL, but that is probably
more a case of what you are used to.
--
Andrew Rowley
Black Hill Software
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN