News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by samsquire on Saturday July 29, 2023 @04:42AM (#36918217)
LMAX Disruptor is multithreaded.

Multithreading is more efficient but more difficult to work with.

You share the same address space in threads, so you can communicate any amount of data between threads instantly within a lock. The same cannot be said for network traffic or OS pipes or multiprocessing.

Multiprocessing uses pickle to serialize your data and deserialize it in the other python interpreter.

If you start a Python Thread, you're still single threaded due to the GIL.

There are no comments on this comment yet.