Need a champion? StringView strawman

Kenneth Russell kbr at
Fri Jan 10 10:47:51 PST 2014

On Fri, Jan 10, 2014 at 10:26 AM, Anne van Kesteren <annevk at> 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?
> 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.

There was some discussion about implementing StringView on the
blink-dev mailing list in August 2013. My opinion was and is that the
Encoding spec satisfies these use cases.

Adding a StringView to Typed Arrays would bring along all of the
complexities of character set encoding and decoding to the Typed Array
definitions. Typed Arrays were designed to be small, simple, and
comprehensible enough that they would be easily implementable and
optimizable. I believe that adding a StringView would contradict these


More information about the es-discuss mailing list