Our primary goal when deciding which variant of JavaScript to
implement is that people should not to have to worry about whether
their code runs in Apple Safari or Google Chrome.  If it runs in one
it should run in the other.  Adding new language features goes against
that goal so we're reluctant to do that.

Note also that generators is not a standardized JavaScript extension.
The most recent standardized edition is the one we implement, edition
3 (aka ECMA-262).

On Wed, Feb 25, 2009 at 6:33 PM, Alex Russell <slightly...@google.com> wrote:
>
> I don't have any say in the matter, but I do feel like v8 should start
> implementing things like this. Yeild/generators are a pretty gnarly
> syntactic hack for call/cc, but they're better than nothing.
>
> On Wed, Feb 25, 2009 at 5:34 AM, Sébastien Pierre
> <sebastien.pie...@gmail.com> wrote:
>>
>> Hi all,
>>
>> I was wondering if V8 is going to support newer JavaScript features
>> such as the "yield" operator.
>>
>> I'm asking this because I'm interested in lightweight threading using
>> generators (based on "yield").
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to