Prev: Fun with casts
Next: JNDI searches
From: Lew on 13 Apr 2010 22:20 Lew wrote: > QNX uses message-passing over a real-time microkernel Javaat the core of Typo - the word "Java" accidentally pasted randomly into that phrase. -- Lew
From: Arne Vajhøj on 13 Apr 2010 22:20 On 13-04-2010 22:18, Lew wrote: > Even if "Lunux, Unix and Windows" were all that Java supported, or > supported well, that's still the great majority of OS installations. > (One can basically count Mac in that group.) MacOS X is certified Unix today. Arne
From: Arne Vajhøj on 13 Apr 2010 22:24 On 13-04-2010 21:44, Mike Schilling wrote: > Arne Vajh�j wrote: >> On 12-04-2010 08:44, Eric Sosman wrote: >>> On 4/12/2010 4:54 AM, Roedy Green wrote: >>>> On Sat, 10 Apr 2010 22:21:07 -0700, "Mike Schilling" >>>> <mscottschilling(a)hotmail.com> wrote, quoted or indirectly quoted >>>> someone who said : >>>> >>>>> 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
From: Eric Sosman on 14 Apr 2010 09:33 On 4/13/2010 10:24 PM, Arne Vajh�j wrote: > On 13-04-2010 21:44, Mike Schilling wrote: >> Arne Vajh�j wrote: >>> On 12-04-2010 08:44, Eric Sosman wrote: >>>> On 4/12/2010 4:54 AM, Roedy Green wrote: >>>>> On Sat, 10 Apr 2010 22:21:07 -0700, "Mike Schilling" >>>>> <mscottschilling(a)hotmail.com> wrote, quoted or indirectly quoted >>>>> someone who said : >>>>> >>>>>> 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. It seems to me that "{Java,POSIX} can do {files,nets} on all systems" is being mis-read as "{Java,POSIX} can do all kinds of {files,nets}." My point -- and it's not new, nor complicated -- is that the former is achieved by making the latter untrue. Again, two of my counter-examples: Where are the {Java,POSIX} interfaces for {resource forks,DECnet}? The response "Who needs 'em?" may cover a lot of cases, but it surely does not cover all. -- Eric Sosman esosman(a)ieee-dot-org.invalid
From: Roedy Green on 15 Apr 2010 07:48
On Mon, 12 Apr 2010 08:44:57 -0400, Eric Sosman <esosman(a)ieee-dot-org.invalid> wrote, quoted or indirectly quoted someone who said : >> File i/o, networking etc are basically the same on all platforms. > > Roedy, you should get out more. ;-) They all have tree structured directories. They all treat files as blobs of bytes, randomly accessible. They all support a basic set of attributes. Windows has its drive letters. There is the complication of symbolic links. In the olden days the OS handled various types of keyed lookup, with quite eccentric interfaces. There were many kinds of databases besides SQL. -- Roedy Green Canadian Mind Products http://mindprod.com It�s amazing how much structure natural languages have when you consider who speaks them and how they evolved. |