3 ms·
I see at least 3 advantages: 1. Threads are significantly cheaper than processes in terms of memory, setup and context switch overhead 2. Inter-thread-communi
by spacechild1 3y ago
I see at least 3 advantages:
1. Threads are significantly cheaper than processes in terms of memory, setup and context switch overhead
2. Inter-thread-communication is simpler and more performant than inter-process-communication
3. C extensions can share data structures across (sub)interpreters