4 ms·
Consider a single tab of a web browser, for instance. By specification, much of the code must run in the same thread. Keeping the semantics while getting code o
by Yoric 13y ago
Consider a single tab of a web browser, for instance. By specification, much of the code must run in the same thread. Keeping the semantics while getting code out of the thread is extremely difficult, often impossible.
I should know, that's my dayjob :)
- vilya 13y agoSo the reason you can't make it faster than JavaScript by multi-threading it is... because of JavaScript? :-) I had a look at your profile and it looks like you're doing some very valuable work. I was rather hoping for some examples which didn't involve JavaScript, though.
- saucetenuto 13y agoIt used to be that almost all PC games were single threaded. Many still are: Civilization 4, Dwarf Fortress, and Morrowind, for example.