[ogg-dev] OggPCM: support for little-endianness only?

Timothy B. Terriberry tterribe at email.unc.edu
Sun Dec 30 16:14:05 PST 2007


Ivo Emanuel Gonçalves wrote:
> Clearly there is a winner. It's long past time to stop putting the
> bytes in an order that makes both programmers and computers do extra
> work for no good reason. Don't try to hold back the tide."

It doesn't even really matter which architecture you're actually on. In
any format that is to be used on both, it is always better to pick one
and stick with it. Otherwise you require _both_ architectures to write
additional code that is largely useless. Unless you can guarantee that
you're writing streams that are only going to be passed within a single
architecture, allowing both formats is always worse. That happens seldom
enough in practice and has a small enough benefit that it is in no way
worth making everyone else do extra work.


More information about the ogg-dev mailing list