News for hackers. Stuff that matters.
Re:Parallel.js: A javascript library for parallel computing by niggler on Saturday February 23, 2013 @09:44PM (#5272526)
Should add a web worker polyfill like http://code.google.com/p/fakeworker-js/source/browse/src/jav... to the live demos ...
Re:Parallel.js: A javascript library for parallel computing by adambom on Saturday February 23, 2013 @11:12PM (#5272787)
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.
Re:Parallel.js: A javascript library for parallel computing by itsnotvalid on Saturday February 23, 2013 @09:07PM (#5272415)
Is this compatible with non-worker-ready browsers?
Re:Parallel.js: A javascript library for parallel computing by hughes on Saturday February 23, 2013 @09:20PM (#5272458)
Doesn't look like it. Clicking "Try It" does nothing, so I guess it has no single-threaded fallback.
Re:Parallel.js: A javascript library for parallel computing by adambom on Saturday February 23, 2013 @11:13PM (#5272791)
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.
Re:Parallel.js: A javascript library for parallel computing by coditor on Saturday February 23, 2013 @09:11PM (#5272426)
Is there anything you can't build with javascript?
Re:Parallel.js: A javascript library for parallel computing by Cieplak on Saturday February 23, 2013 @09:23PM (#5272464)
Re:Parallel.js: A javascript library for parallel computing by kevingadd on Saturday February 23, 2013 @11:45PM (#5272880)
Anything that needs weak references. They might land in ES7, though...