what's the point of rpython?

Paul Rubin http
Sun Jan 18 18:50:07 EST 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