[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] String support in DataView

On Fri, Nov 4, 2011 at 6:33 PM, Joshua Bell <jsbell@chromium.org> wrote:
We envision (though it's not reflected in the spec) that the target array could be something other than an ArrayBuffer, e.g. a simple _javascript_ Array containing octet values. There are also non-Typed Array proposals for storing binary data floating around for future editions of ECMAScript. Making this API separate from Typed Arrays lets us re-use the same API while different binary storage types evolve.

Ok, though spreading this out and limiting the functionality makes it even more likely that to actually use it, developers will instead use some library layered on top of it, which means there likely won't be just one standard "API" that everyone uses.

John A. Tamplin
Software Engineer (GWT), Google