TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Quick thoughts on concurrent JavaScript execution

12 pointsby bssalmost 14 years ago

1 comment

skimbrelalmost 14 years ago
Interesting read. When it comes down to it the answer seems to be that JavaScript needs to have support added for explicit parallelism. But isn't this what we're supposed to get with HTML5 web workers? It shouldn't be hard to write a utility library to implement parallel map, reduce, and so on in terms of spawning workers, falling back to serial execution if the worker API isn't available.<p>In either case, this will require a rewrite of every piece of code that needs it.<p>Speeding up/backgrounding the JIT compilation phase is a transparent optimization that I'm sure some smart people at Apple, Google, and Mozilla are already working on.
评论 #2644318 未加载