Hacker News new | ask | show | jobs
by kroolik 827 days ago
Managing processes is more annoying than threads, though. Incl. data passing and so forth.
1 comments

The "ray" library makes running python code on multi core and clusters very easy.
Although its great the library helps with multicore Python, the existence of such package shouldnt be an excuse not to improve the state of things in std python
Interesting - looking at their homepage they seem to lean heavily into the idea that it's for optimising AI/ML work, not multi-process generally.
You can use just ray.core to do multi process.

You can do whatever you want in the workers, I parse JSONs and write to sqlite files.