Need a champion? StringView strawman

Allen Wirfs-Brock allen at
Fri Jan 10 11:00:49 PST 2014

On Jan 10, 2014, at 10:26 AM, Anne van Kesteren wrote:

> On Fri, Jan 10, 2014 at 6:22 PM, Allen Wirfs-Brock
> <allen at> wrote:
>> is a request that
>> StringView [1] over ArrayBuffers  be added to ES.
>> [1]
> Where is this from?

Don't know, I'm just creating visibility of the ES bug/feature request.
> Google and Mozilla have implemented the API from
> as a means to get strings out of
> bytes (and bytes out of strings). It's not clear we need anything
> else.

Same base point applies to that proposal.  If anybody wants this capability to be considered as a standard ES capability, it needs to have a champion within TC39.  I note that (as would be expected) the whatwg encoding spec. is expressed in WebIDL terms (DOMStrings, etc.) and it isn't yet clear to me how well it integrates with ES, ES standard library conventions,  or non-browser hosts.  Perhaps it's fine to leave this as a web platform API , but support for character set encoding/decoding  is a general purpose capabilities and it might be reasonable to have a solution that isn't tied to a specific environment.


More information about the es-discuss mailing list