Allen Wirfs-Brock Allen.Wirfs-Brock at
Wed Jun 10 11:54:14 PDT 2009

I also think that some sort of byteArray/buffer abstraction should be on the table for Harmony discussions. After a quick glance, at the two proposals  at <> I'm not sure particularly enthusiastic about  either of them. But as Mark said, they could be a starting point and I think we should generally have a preference for proposals that have some implementation experience behind them.

We don't really have a detailed plan or schedule for Harmony in place yet although we did make some progress on these things at the last TC39 meeting.  I thing that "byte array" could be one of a handful of new features that we might reasonably anticipate browsers implementing fairly soon (and prior to the completion of Harmony) . We might want to try to identify such features and  get pretty solid draft proposals done fairly soon in order to provide some common guidance for such implementations.  We probably can't get perfect uniformity prior to completion of Harmony but I would hope we could head off totally incompatible implementations.


From: es-discuss-bounces at [mailto:es-discuss-bounces at] On Behalf Of Mark S. Miller
Sent: Wednesday, June 10, 2009 11:10 AM
To: Anne van Kesteren
Cc: es-discuss at
Subject: Re: ByteArray

On Wed, Jun 10, 2009 at 10:28 AM, Anne van Kesteren <annevk at<mailto:annevk at>> wrote:
ECMAScript 4 had a ByteArray feature that the W3C WebApps WG wanted to use
for XMLHttpRequest Level 2, to expose the raw response data and also to
allow any entity body to be transmitted to the server the author could
think of.

However, ByteArray is no longer there. HTML5 has a concept called
CanvasPixelArray which is effectively a byte array and I suppose we could
define something like that as well, but it seems nicer if we can just map
it to something part of the ECMAScript.

Are there any plans for such a feature?

Hi Anne,
It hasn't been actively discussed in committee or on the list. But it wasn't one of the elements of ES4 explicitly taken off the table by the Harmony agreement. The ServerJS community is rapidly converging on a standard for server-side use <>. If this remans clean and gains traction, as I expect, then it is likely to be the starting point for any future EcmaScript standardization efforts along these lines. But please understand that these are only my unofficial speculations.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list