News for hackers. Stuff that matters.
Re:Re: 100k Threads? (2002) by the_biot on Saturday September 23, 2023 @11:15PM (#37629852)
Here, here. The elephant in the room in just about any discussion about threads/async is Python. Threads simply don't function in Python because of the GIL.

Instead of accepting this fact and using another language if threads are needed, Python has been doing various async-style things for years and pretending it's good enough, including what can only be described as cooperative multitasking, that horror from the early 90s.

Re:Re: 100k Threads? (2002) by fiedzia on Sunday September 24, 2023 @04:35AM (#37631193)
Python is working on removing GIL (I am not sure about timeframe) and will have subinterpreters - the last one will come in 3.13 and solves the thread problem.