A
Arne Vajhøj
Arne said:On 4/12/2010 4:54 AM, Roedy Green wrote:
The OS-specific parts of the JRE [1] are, of course, precisely
stuff that's
been tweaked to work on all supported platforms.
File i/o, networking etc are basically the same on all platforms.
Roedy, you should get out more. ;-)
The C and POSIX standards define a lot. And most platforms are
either compliant or close.
Perhaps this has changed since I worried about this stuff, but at one time
"POSIX compliant" meant "A simple-minded test suite could be made to compile
and run", not that you'd actually use the POSIX interfaces for anything that
mattered.
POSIX is pretty thin in many contexts. Way smaller than the
Java library.
It is not sufficient to create portable applications in general.
But for the topics mentioned "File i/o, networking" I think it
will do very well.
Arne