[whatwg] Endianness of typed arrays
bzbarsky at MIT.EDU
Wed Mar 28 00:57:09 PDT 2012
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.
More information about the whatwg