Re: v8 first impressions

talksmall <[email protected]> Wed, 3 Sep 2008 11:43:12 -0700 (PDT)
Newsgroups gmane.comp.lang.smalltalk.strongtalk
Message-ID <366a0871-6e09-4490-b37e-9520e49ebab3@r66g2000hsg.googlegroups.com>
On Sep 3, 11:57=A0am, Colin Putney <[email protected]> wrote:

> One thing to note here is that the semantics of Javascript don't =A0
> include concurrency at all. Javascript code only runs in response to =A0
> sequential events generated from outside the Javascript context, so it =
=A0
> makes perfect sense for V8 to be implemented this way.

True ... except that you can spawn off timeouts and intervals that act
in some ways similarly to threads, except (at least in current
implementations) with no parallel execution - the VM schedules them
sequentially - and with no suspension or synchronization mechanism, so
one task (event handling function) needs to complete before another
can be scheduled.

It is not hard to see how this could be expanded into a thread, though
obviously that would be outside of the scope of the current ECMAScript
language definition.

Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "=
Strongtalk-general" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to strongtalk-general+unsubscrib=
[email protected]
For more options, visit this group at http://groups.google.com/group/strong=
talk-general?hl=3Den
-~----------~----~----~----~------~----~------~--~---