W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2012

[whatwg] Endianness of typed arrays

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 28 Mar 2012 20:49:42 +1300
Message-ID: <CAOp6jLbhSpGpg1MsdQ8dK6KxmFdBgaaGiZu3axQobQbN+YG4HA@mail.gmail.com>
On Wed, Mar 28, 2012 at 5:33 PM, Charles Pritchard <chuck at jumis.com> wrote:

> It does seem like a bigger "warning" in the spec may benefit developers.
> A warning and an example of how to check for big-endian results.

Asking developers to write extra code paths for users that don't exist is
futile. Even if you could persuade them to do it, since there's no way to
test those code paths, most of them will get it wrong.

?You have heard that it was said, ?Love your neighbor and hate your enemy.?
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]
Received on Wednesday, 28 March 2012 00:49:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:40 UTC