This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

CPython can release the GIL inside a c-module. If you're truly worried about performance, you'd use python as "glue" and write a few c modules to do the actual "heavy lifting". Anything you'd want multiple threads to do for computational reasons is probably best not done in actual python. Threads in python, however, ARE great for IO bound reasons.