> If you can't share memory between threads you can't write high performance programs.
I don't know whether shared memory is required for high-performance programs but I do know that python THREADS can share memory.
The GIL means that only one thread is executing bytecodes at a time. That's it. It doesn't place any other restriction on python programs.
I write crypto trading code in python. It takes 0.1ms from the time I receive a packet until the time I send the packet containing the trade based on receiving that packet. Yes, that 0.1ms includes the logic to decide whether to trade.
FWIW, that chain of processing happens to involve two threads that share memory.
I don't know whether shared memory is required for high-performance programs but I do know that python THREADS can share memory.
The GIL means that only one thread is executing bytecodes at a time. That's it. It doesn't place any other restriction on python programs.
I write crypto trading code in python. It takes 0.1ms from the time I receive a packet until the time I send the packet containing the trade based on receiving that packet. Yes, that 0.1ms includes the logic to decide whether to trade.
FWIW, that chain of processing happens to involve two threads that share memory.