what's the point of rpython?

Paul Rubin http
Mon Jan 19 00:50:07 CET 2009


"Brendan Miller" <catphive at catphive.net> writes:
> That's interesting, I hadn't heard the reference counting mechanism
> was related to the GIL. Is it just that you need to lock the reference
> count before mutating it if there's no GIL? 

Yes.  Someone tried inserting such a lock but it slowed down the
single-cpu case unacceptably.

> Really, that shouldn't be
> the case. Reference counting can be done with a lock free algorithm.

That's interesting, got a reference?  (no pun intended)



More information about the Python-list mailing list