4 ms·
> All of these problems can be addressed using inter-process shared memory. Shared memory support is built into multiprocessing [1]. Well, sorta. You're still
by KirinDave 13y ago
> All of these problems can be addressed using inter-process shared memory. Shared memory support is built into multiprocessing [1].
Well, sorta. You're still incurring the mighty overhead of multiple processes and all that it entails if you want to dynamically resize the set of workers. One of the reasons that Scala, Erlang and Clojure have it so good on the concurrency AND parallelism front is that from their perspectively, these things are both cheap in terms of the overhead and the syntax.
And of course there's locality to consider.