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?
Scott Yang's Playground
Faith, Technology and Randomness in Life, According to Scott
Feb 14 2007
You’re a bad bad man.
:)
Ah, I’m not the only person who noticed that JavaScript 1.7 is borrowing a lot of concepts from Python.