Slower Ninja Foo

by mikepk on March 2, 2006

I’m still furiously working on my YAJAF enabled project. The ‘ninja foo’ articles will be slower in coming but I will try not to be overly negligent. I’m hoping to have some demos ready in the next couple weeks. Stay tuned…

{ 1 comment }

Blair Zajac March 21, 2006 at 8:25 pm

Great articles.

One thing if you could touch upon is the mutlithreaded nature, or lack thereof, of JavaScript.

Some questions that Google searches have not explained fully enough includee:

How the JavaScript engine works in the browser context. For example, what happens when an XMLHttpRequest completes and calls the onreadystatechange function and there’s another event being processed. Does the onreadystatechange block, or are they both running?

Do you need to worry about multiple threads updating JavaScript variables?

Are all JavaScript implementations single threaded?

Is there a global lock much like Python?

Comments on this entry are closed.

blog comments powered by Disqus

Previous post:

Next post: