@aredridel @tqbf as @skeuomorf pointed out, @rob_pike has an entire talk dedicated to the subject: https://www.youtube.com/watch?v=cN_DpYBzKso …
@aredridel if any computation stalls the single-threaded event loop, the whole works gets gummed up. Real parallelism prevents that
-
-
@bascule I'm aware of how event loops work. But there's nuance here. At what point does parallelism become "real"? -
@aredridel as soon as more than one thread is running uncontended in parallel, a.k.a. multicore -
@bascule Then node counts. Not long duration without contention, but lots of stuff happens in parallel. -
@aredridel Node is single threaded. Anything that stalls the event loop prevents I/O processing. There is no parallelism. -
@aredridel there are ways to do do parallel processing in JavaScript, e.g. SIMD.js: https://hacks.mozilla.org/2014/10/introducing-simd-js/ … -
@bascule That too. Also child_process is a much more useful and general way.
End of conversation
New conversation -
-
-
@bascule Or do we just refer to which parts are parallel?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.