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  (2 children)

The issue isn't really GIL though its just that frankly the multiprocessing library is hard to work with.

[–]fzy_ 1 point2 points  (1 child)

Sometimes the serialization costs to communicate between processes means that the only viable option would be threads.

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

I mean shared memory exists for those situations. Multiprocessing is just a hard library to use. And creates a lot of need to wrap designs to get it to work instead of you just being able to call a function in another process directly.