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

Sometimes it is possible to do long-running computations with pure C code and the GIL can be released. Mostly though you use Cython because it lets you combine Python code with C code, and any code that touches Python datastructures must hold the GIL. Therefore the same advice as for Python in general applies, use multiprocessing instead of threading.


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

Search: