W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

Re: Can typed arrays be platform array objects for numeric types?

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 03 Apr 2012 09:40:00 +1000
Message-ID: <4F7A38D0.6070107@mcc.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
Boris Zbarsky:
> At first glance the answer seems to be no, but I just figured I'd double
> check whether this is actually the case, and if so whether it's desirable.

No, only platform array objects are platform array objects.  They have 
specific requirements on their [[Prototype]], how they respond to 
Object.prototype.toString, how they expose a length property, etc., 
whereas typed arrays have operations on them like get and set, some 
constructors, and so on.

But wouldn't it be nice if we didn't need to have these two separate 
Received on Monday, 2 April 2012 23:40:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:06 UTC