Comment

Comment by culebron21

This covers just the most basic things that can be looked up in the manual (IDK if it's ChatGPT output or not, doesn't matter).

It doesn't answer

* why you need multiprocessing (rather than threads)

* what are costs and benefits of them

* how to process a sequence of tasks maintaining results in order

* ...or without maintaining the order

* how to handle exceptions in the processes

* how to gracefully exit by Ctrl+C or other exceptions in the main process

* how to minimize data transmission between processes, because it's costy

etc. None of this is covered.

parent culebron21 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton