> ...
> > Can someone help me clarify the following:
> >
> > Java is Big-Endian, correct?
Yes, the language and JVM are defined this way.
> > Intel Linux is Little-Endian, correct?
Yes, this is a property of the CPU that Linux and all
other OSes on Intel CPUs must live with. On other
CPUs Linux may be big-endian.
> Corrrect me if I'm wrong, but here's my understanding of the endianness:
> 1. the java classes (such as DataInputStream) do things big-endianedly
> 2. the jvm is responsible for hiding the endianness of the platform
Yes to both, see above.
> 3. as a result of (2) there is nothing a 100% java app can do to determine
> the endianness of the platform it's being run on.
If a Java app exchanges data with data from a non-Java program
then it must face platform-specific endianness issues.
Does a program fail to be 100% Pure Java if it exchanges
data with a non-Java program? (I'm asking, I'm uncertain
of the definition of "100% Pure Java". But, I'd expect
the answer is "no".)
> *shrug*
> dstn.
> ...
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]