News for hackers. Stuff that matters.
Re:PyCon 2015: Are we still changing the world? by msellout on Monday May 11, 2015 @12:19PM (#9525847)
There are many ways to get around the GIL. Use PyPy. Use processes. And are you really doing that much computation? Threads on standard CPython are perfectly fine for I/O.
Re:PyCon 2015: Are we still changing the world? by blt on Monday May 11, 2015 @01:23PM (#9526314)
Yes, I really am doing that much computation. Not everyone works on database-dependent web apps.

The GIL sucks. It holds Python back from wider use. I wanted to use Python for the GUI/scripting layer of a high performance desktop application, but dealing with the GIL in a mixed C++/Python multithreaded event-driven architecture was too annoying. When Python code isn't in charge of the main application loop, things get ugly.

These days, I mainly see Python as a source of syntax inspiration for other languages. I say this with the highest amount of respect. I think Python's best qualities - list comprehensions, generators, itertools - are largely independent of its interpreted, dynamic nature. They will eventually find a better home in a language with more industrial-grade semantics.

"The GIL isn't that bad, get over it" is not an attitude that will sustain a language for decades.

Re:PyCon 2015: Are we still changing the world? by actsasbuffoon on Monday May 11, 2015 @12:26PM (#9525900)
Re:PyCon 2015: Are we still changing the world? by msellout on Tuesday May 12, 2015 @11:14PM (#9536521)
Doh. I should have said, "Use Jython."