Some of the portability issues have (mostly) gone away because of changes in the language and the demise of, e.g., 36-bit computers as a significant presence in the market place, and some you have to handle on an ad hoc basis with #if and #ifdef in your header files.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Sunday, April 26, 2020 11:12 AM To: [email protected] Subject: Java (was: Cobol) On 2020-04-26, at 08:41:24, Jack J. Woehr wrote: > > On 4/25/20 2:56 PM, Rob Schramm wrote: >> I wonder when someone is going to write a javac that actually produces C >> code for the platform. Kind of like PL/asx ( I may have this acro wrong ) > > Modern Java VMs are about as efficient as can be, given the object model. > With the advantage of JIT compilation/optimization. > That's why the notion of Java -> C compilers went away. > Is there any residual portability concern? But how portable is ANSI C? The gyrations of GNU configure make me wonder. The java samples at http://secure-web.cisco.com/1gtkcrK5_Jm1BC7hqGY6kmWAuewOT2AVaTtqvC8DOMkF4JltYFqNDT_4ZewLUYqn-R-SemKmpsL3RJo0JsTAHXGmjaB9eoXnv7QU3542u0nqGV2D7O7i11wfWDHiF8N9evaHYF2mG5gCv4ys28fDysP6K9ALMJtBH0h_7o2jHqGegfPkah9JYdSbgTtfq4jrih-l83xzqPekGIBCyc9d3Zyzt-l4msgApk7uwkTtQLrZuq3Pms1wgmKlrUlK3CbMrP3Cj7fFBHRkpkSbgs-myDO-xqCX3s7yod1NaqoN4gbFRigknUcxZ7Y6iR08hReFH4Hi-l599siRDob1H8E3MmhFMf4Yk6YClb5ILuTyTCNadL6FUHvR6L8iIFEPmNiSC-ugA1JmSV0OvPpl0bPKu6lvgJyvS1t0de5xsZ6teppsNJfLSmHmZNeZo-g2wC_Zb/http%3A%2F%2Fmath.hws.edu%2Feck%2Fjs%2Fmandelbrot%2Fjava%2FMB-java.html are splendid. They work alike on: MacOS, Linux (Intel and Raspberry π), and z/OS (output to JPEG; never got X11 client configured.) -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
