Re:The unreasonable effectiveness of the Julia programming l...
by andi999 on Friday October 09, 2020 @09:10PM
(#24735942)
I am wondering if this is really a problem? I just parallelized some numerical code and instead of threads (Gil problem), I use processes. As far as I understand the only drawback would be that the parallel items cannot share memory, well do you do that? I find it hard to reason about correctness in these cases.
[ Parent
| on HN ]
Re:The unreasonable effectiveness of the Julia programming l...
by rich_sasha on Sunday October 11, 2020 @08:15AM
(#24745271)
This works a bit. But sometimes sharing memory is useful. Sometimes you may want to parallelise a local function, or a callable class instance - except you can't.
And when I say, "it works", that's clearly on Linux and Mac. On Windows multiprocessing is very severely stunted by lack of forking.
Meanwhile, probably even my watch supports threads.