Re: binary data file and endianness and multiarch
On 2014-09-27 11:18:18 +0100, Jonathan Dowland wrote:
> > On 27 Sep 2014, at 10:36, Adam Borowski <kilobyte@angband.pl> wrote:
> >
> > Except that the endianness war has been won by little-endian
>
> And yet, network byte order remains big.
But does this matter in the context of these binary data files?
On 2014-09-27 13:06:56 +0200, Matthias Urlichs wrote:
> Jonathan Dowland:
> > It's less important which endian they pick, but that they pick one
> > and use it consistently across arches.
> >
> The advantage of using big-endian data on a little-endian system is that
> you actually have a chance of finding mis-swapped and/or mis-sized items.
However, conversely, if little-endian data is chosen, you just need to
test on a big-endian system.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: