News for hackers. Stuff that matters.
Re:Our Plan for Python 3.13 by hgs3 on Thursday June 15, 2023 @09:56PM (#36349975)
> You need to duplicate your process, then pay the price of memory usage ...

I believe the implementation of the Python multiprocessing package uses fork() on *nix systems which means memory should be copy-on-write.

Processes do have the advantage of being self-contained meaning if one crashes, then it will not take down the entire system. Also, the message passing model can theoretically scale to processes running on separate hardware. Thread's cannot do that.

There are no comments on this comment yet.