News for hackers. Stuff that matters.
Re:Ask HN: Whose building on Python NoGIL? by dec0dedab0de on Monday December 23, 2024 @12:47PM (#42496164)
multiprocessing has more overhead even without serialization. I just brought it up to expand on why the GIL would force someone to thinking about being data-parallel.
Re:Ask HN: Whose building on Python NoGIL? by ptx on Monday December 23, 2024 @01:11PM (#42496347)
What I was trying to say, I guess, is that the additional serialization overhead can't be parallelized, which means that parallelization with multiprocessing doesn't help much in some cases where GIL-free threading would.