Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Parallel.js: A javascript library for parallel computing
(opens in new tab)
(adambom.github.com)
58 points
adambom
13y ago
8 comments
Save
Share
8 comments
8 comments · 3 top-level
top
newest
oldest
itsnotvalid
13y ago
· 2 in thread
Is this compatible with non-worker-ready browsers?
hughes
13y ago
Doesn't look like it. Clicking "Try It" does nothing, so I guess it has no single-threaded fallback.
adambom
OP
13y ago
You need a way to spawn threads. There may be a way to implement this in the main browser event loop but I have yet to think of a way.
coditor
13y ago
· 2 in thread
Is there anything you can't build with javascript?
Cieplak
13y ago
http://en.m.wikipedia.org/wiki/Turing_completeness
kevingadd
13y ago
Anything that needs weak references. They might land in ES7, though...
niggler
13y ago
· 1 in thread
Should add a web worker polyfill like
http://code.google.com/p/fakeworker-js/source/browse/src/jav...
to the live demos ...
adambom
OP
13y ago
Check out the github repo. I wrote a worker.js "polyfill" that's meant to emulate web workers for node. I want to apply this to the browser at some point but for now there are hard dependencies on Worker and URL.
j
/
k
navigate · click thread line to collapse