[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Endianness?
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]Endianness? |
Date: |
Sat, 08 Nov 2003 08:07:02 +1000 |
User-agent: |
KMail/1.4.3 |
On Saturday 08 November 2003 08:01 am, Rich Baumann wrote:
> On Fri, 2003-11-07 at 12:30, HJ wrote:
> > Is it known wether MS.NET is host-endian or little-endian always?
>
> The ECMA spec requires that conforming CLRs always be little-endian.
No it doesn't. The encoding of programs, when stored in IL binaries, is
little-endian (you have to pick something for the on-the-wire format). But
there are no ECMA-specified endian restrictions on the CLR's data
representation once the program is loaded. Restrictions may occur because of
badly written compilers (e.g. Microsoft's C/C++ compiler), but not because of
anything that ECMA specifies.
Cheers,
Rhys.