Become a fan of Slashdot on Facebook


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:More Fun Demos (Score 2) 465

Then apparently you haven't studied it enough. We're not talking about cooperative multi-threading. A true, honest to God thread gets spawned to handled these requests. "Cooperative multithreading" is the practice of scheduling processing and voluntarily using a limited amount of time for each turn. That's feasible without Gears or HTML5, but it's not what the XMLHttpRequest object does.

I think you guys are both missing the point. Asynchronous means asynchronous. That's it. It doesn't imply preemptive threading, and it doesn't imply cooperative threading. It just means asynchronous. Asynrchonousity can be implemented many ways. You could have one thread per asynrchonous call, or one thread for all asynchronous calls, or kernel support, it's really depends on the design and implementation of the library/API. They all have trade offs. You're both right, and you're both wrong. "Multi-threaded" isn't a feature. "Responsive" is a feature and there are many ways to get there, and that they're stable, and perform well is what really matters.

Slashdot Top Deals

Ocean: A body of water occupying about two-thirds of a world made for man -- who has no gills. -- Ambrose Bierce