[CentralOH] Threading materials?

Bryan Harris brywilharris at gmail.com
Tue Mar 9 20:39:50 EST 2021


Yeah, I looked it up too.  My mistake.

On Tue, Mar 9, 2021 at 7:38 PM Brian Costlow <brian.costlow at gmail.com> wrote:
>
> Python still has the GIL, but so does PyPy.
>
> https://doc.pypy.org/en/latest/faq.html#does-pypy-have-a-gil-why
>
> PyPy is faster than CPython for pure Python code in general, which probably accounts for the speed increase in threaded Python code.
>
> On Mon, Mar 1, 2021 at 9:41 AM Bryan Harris <brywilharris at gmail.com> wrote:
>>
>> I also would like any good material on threading in Python.  It's been
>> a few years since I messed with multithreading in Python, and I'd be
>> very interested in how things are progressing.  When I first looked
>> into this, we still had a GIL meaning that standard Python was
>> effectively single threaded.  I have used pypy to get around this
>> limitation (and boy did it ever speed things up) but I wonder how much
>> of this goodness has made its way back into the stock interpreter?
>> When I was working on this, Python 3 was a "new thing" (and had been
>> for years, something like ipv6) so it's been a while.  There was a lot
>> of promising activity, but it was early days.  Please copy me if you
>> don't post it on the list?
>>
>> Thanks!
>> Bryan
>>
>> Bryan Harris
>> brywilharris at gmail.com
>>
>> On Sat, Feb 27, 2021 at 9:52 AM Catherine Devlin
>> <catherine.devlin at gmail.com> wrote:
>> >
>> > Hi, COHPy!  Can somebody convey my thanks to Jon Bennett for his great threading presentation?  It helped my understanding quite a bit.
>> >
>> > I'd love to reuse it at one of Dayton PyFri events, if his code is available.
>> >
>> > If his contact info and/or materials were already posted, sorry I missed it - I didn't see it in the Gather chat or on the mailing list.
>> >
>> > Thanks!
>> >
>> > --
>> > - Catherine
>> > http://catherinedevlin.blogspot.com
>> > _______________________________________________
>> > CentralOH mailing list
>> > CentralOH at python.org
>> > https://mail.python.org/mailman/listinfo/centraloh
>> _______________________________________________
>> CentralOH mailing list
>> CentralOH at python.org
>> https://mail.python.org/mailman/listinfo/centraloh
>
> _______________________________________________
> CentralOH mailing list
> CentralOH at python.org
> https://mail.python.org/mailman/listinfo/centraloh


More information about the CentralOH mailing list