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

[whatwg] Endianness of typed arrays

From: Charles Pritchard <chuck@jumis.com>
Date: Tue, 27 Mar 2012 21:33:07 -0700
Message-ID: <4F729483.2010203@jumis.com>
On 3/27/12 8:42 PM, Robert O'Callahan wrote:
> On Wed, Mar 28, 2012 at 3:43 PM, Kenneth Russell<kbr at google.com>  wrote:
>
>> >  Production browsers already implement typed arrays with their current
>> >  semantics. It is not possible to change them and have WebGL continue
>> >  to function. I will go so far as to say that the semantics will not be
>> >  changed.
>> >
> What's the problem? A big-endian machine could interpret WebGL typed arrays
> as little-endian.

Mozilla is free to do that.

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.

-Charles
Received on Tuesday, 27 March 2012 21:33:07 UTC

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