2 ms·
Multiprocessing is the way to do parallelism. Nowadays I use Scala/Akka for concurrent event processing. As far as code organization goes it is a lot like mult
by yummyfajitas 13y ago
Multiprocessing is the way to do parallelism.
Nowadays I use Scala/Akka for concurrent event processing. As far as code organization goes it is a lot like multiprocessing. Just s/actor/process/. But unlike unix style forking/IPC, I don't have to waste memory/cpu cycles serializing/deserializing immutable messages just so another process can have a duplicated copy of it.