Does D support middle endianness?

H. S. Teoh hsteoh at qfbox.info
Mon Jun 30 04:21:16 UTC 2025


On Mon, Jun 30, 2025 at 02:46:03AM +0000, Valentino Giudice via Digitalmars-d wrote:
> The only reference I found was this thread from 11 years ago:
> https://forum.dlang.org/post/mailman.1953.1380926372.1719.digitalmars-d@puremagic.com
> 
> I'd argue that if there aren't many middle endian architecture, it'd
> be worth not supporting them, in exchange for only having to deal with
> two byte orders (rather than all possible permutations), so the
> specification should mandate that either LittleEndian or BigEndian be
> set to true.

What is a middle endian architecture?  First time I've heard of it.


--T


More information about the Digitalmars-d mailing list