[whatwg] Endianness of typed arrays

Charles Pritchard chuck at jumis.com
Tue Mar 27 21:33:07 PDT 2012


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



More information about the whatwg mailing list