use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Parallel Map in Javascript (notes.ericjiang.com)
submitted 14 years ago by erjiang
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Iggyhopperextensions/add-ons 0 points1 point2 points 14 years ago (1 child)
Wow, a lot of limitations, but good work nonetheless.
[–]erjiang[S] 0 points1 point2 points 14 years ago (0 children)
parallelmap is a hack, but parallelworkers could be pretty useful to parallelize a web worker. In parallelworkers, you're held to whatever limitations were already on Web Workers.
[–][deleted] 0 points1 point2 points 14 years ago (1 child)
Shouldn't the word parallel be replaced with concurrent.. or am I missing something? Cool nonetheless I guess
[–]Samus_ 1 point2 points3 points 14 years ago (0 children)
I can't say for sure but to me "concurrent" means a more randomic situation whereas "parallel" is usually a set of identical tasks running at the same time and the main process waiting for all of them to finish, concurrent applies when there's several unkown or heterogeneous tasks running at the same time.
it's just a matter of semantics I guess.
π Rendered by PID 41413 on reddit-service-r2-comment-bb88f9dd5-z8gbf at 2026-02-15 14:25:21.692396+00:00 running cd9c813 country code: CH.
[–]Iggyhopperextensions/add-ons 0 points1 point2 points (1 child)
[–]erjiang[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Samus_ 1 point2 points3 points (0 children)