Feb 14 2007

Threading in Javascript

Cooperative threading in Javascript 1.7 using the new yield keyword. Only works in Firefox 2 (or whatever browser that supports JS 1.7 with all its Pythonic features). It’s no preemptive “real” threading though, but it does make massive parallelism easier to implement. Online realtime strategy game written in Javascript?

2 Comments

  1. Alistair on 14 Feb 2007 at 10:39 pm #

    You’re a bad bad man.
    :)

  2. Marc on 18 Feb 2007 at 6:17 pm #

    Ah, I’m not the only person who noticed that JavaScript 1.7 is borrowing a lot of concepts from Python.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>