Hacker News new | past | comments | ask | show | jobs | submit login

Did they get rid of the GIL?



Getting rid of the GIL does not imply better performance... Currently, their implementation is quite slow, part of the reason is due to extensive use of atomic integers and RC usage.

https://github.com/RustPython/RustPython/issues/2445

https://github.com/RustPython/RustPython/issues/2474


The presence of any kind of GIL is probably my latest "will not use this language" filter, it's why I originally switched to Elixir actually (it does not require a GIL because all memory is immutable and concurrency is trivial in that case)


apparently they did


Getting rid of the GIL isn’t the hard part.

It’s getting rid of the GIL and having existing Python code continue to work, with C extensions and all.


Where is this documented


There's some info on the proposal here: https://news.ycombinator.com/item?id=28896367


I think the root comment is asking whether this new Python-on-Rust interpreter for rid of the GIL. Your link is about the existing CPython interpreter.


Why document something they have not implemented?


Because rightly or wrongly, tons of existing Python code implicitly requires on the GIL to function correctly. Especially when you have C extensions that may not be thread-safe.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: