Re: [Python-Dev] GIL musings (was Re: Thoughts fresh after EuroPython)

2010-07-29 Thread Maciej Fijalkowski
On Thu, Jul 29, 2010 at 6:53 AM, Greg Ewing wrote: > On 28/07/10 23:12, Antoine Pitrou wrote: > >> It should be noted, though, that a full GC can be detrimental to >> real-time applications. Kristján has already explained how some of his >> software disabled the cyclic GC, and took care of breakin

Re: [Python-Dev] GIL musings (was Re: Thoughts fresh after EuroPython)

2010-07-28 Thread Greg Ewing
On 28/07/10 23:12, Antoine Pitrou wrote: It should be noted, though, that a full GC can be detrimental to real-time applications. Kristján has already explained how some of his software disabled the cyclic GC, and took care of breaking cycles manually instead. This worries me, too. I'd be upse

Re: [Python-Dev] GIL musings (was Re: Thoughts fresh after EuroPython)

2010-07-28 Thread Michael Foord
On 28/07/2010 12:43, Ronald Oussoren wrote: On 28 Jul, 2010,at 12:56 PM, Michael Foord wrote: On 28/07/2010 11:50, Nick Coghlan wrote: > On Tue, Jul 27, 2010 at 12:33 AM, Ronald Oussoren > wrote: > >> In my opinion the GIL is a weak point of CPython and it would be nice if it >> could be

Re: [Python-Dev] GIL musings (was Re: Thoughts fresh after EuroPython)

2010-07-28 Thread Ronald Oussoren
On 28 Jul, 2010,at 12:56 PM, Michael Foord wrote:On 28/07/2010 11:50, Nick Coghlan wrote: > On Tue, Jul 27, 2010 at 12:33 AM, Ronald Oussoren > wrote: > >> In my opinion the GIL is a weak point of CPython and it would be nice if it >> could be fixed. That is however easier said than done, a

Re: [Python-Dev] GIL musings (was Re: Thoughts fresh after EuroPython)

2010-07-28 Thread Antoine Pitrou
On Wed, 28 Jul 2010 11:56:16 +0100 Michael Foord wrote: > > This is the kind of approach that seems to hold the most promise of > > removing the GIL without incurring the single-threaded performance hit > > that has been the achilles heel of previous attempts at creating a > > free-threaded CPytho

Re: [Python-Dev] GIL musings (was Re: Thoughts fresh after EuroPython)

2010-07-28 Thread Michael Foord
On 28/07/2010 11:50, Nick Coghlan wrote: On Tue, Jul 27, 2010 at 12:33 AM, Ronald Oussoren wrote: In my opinion the GIL is a weak point of CPython and it would be nice if it could be fixed. That is however easier said than done, a number of people have tried in the past and ran into imple

[Python-Dev] GIL musings (was Re: Thoughts fresh after EuroPython)

2010-07-28 Thread Nick Coghlan
On Tue, Jul 27, 2010 at 12:33 AM, Ronald Oussoren wrote: > In my opinion the GIL is a weak point of CPython and it would be nice if it > could be fixed.  That is however easier said than done, a number of people > have tried in the past and ran into implementation limitations like our > refcountin