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

At this point, I've given up hope that CPython will ever lose the GIL.

The best we can hope for is having multiple interpreters[0], each with their own GIL[1].

[0] https://peps.python.org/pep-0554/

[1] https://github.com/ericsnowcurrently/multi-core-python/issue...



For absolutely critical hot path code this obviously won’t be enough but subinterpreters with memory arenas is a really solid model for safe concurrency and faster than multiprocess IPC.




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

Search: