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

[whatwg] Endianness of typed arrays

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 28 Mar 2012 00:57:09 -0700
Message-ID: <4F72C455.6060802@mit.edu>
On 3/28/12 12:49 AM, Robert O'Callahan wrote:
> 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.

Indeed.  And note that developers don't read specs.  They just do 
whatever tech evangelists tell them too.  And tech evangelists are 
telling them to use typed arrays + XHR to load non-byte data of various 
sorts "more efficiently".  I can guarantee that several hundred people 
were present at the multiple SXSW talks where I heard this promoted from 
the podium, and that very very few of them, if any, have any plans to 
read the spec.

-Boris
Received on Wednesday, 28 March 2012 00:57:09 UTC

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