Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's odd to point to C extensions when talking about the need for a GIL.

The solution seems obvious. Wrap them in a mutex by default and introducing an optional API call to remove the lock.

This way the important libraries will be fixed up gradually by the community and after a bit of time you won't have any C ext's left that will make use of the mutex and therefore the GIL will be gone.

That's the approach that rubinius is set to take.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: