I know that according to ( https://docs.julialang.org/en/v1/manual/parallel-computing/ ) there are three categories for parallel programming in Julia: Coroutines (Green Threading), Multi-Threading and also Multi-Core/ Distributed Processing.
I would like to test a few things, each with a representative of one of these techniques. What could I use for that?
I guess that
Base.@task belongs to the couroutines.
Threads.@spawn to the Multi-Threading category.
Distributed.@distributed to the Multi-Core / Distributed group.
Are these assumptions correct so far?
If I want to write one sample program per category, does this selection make sense? (
I only have one PC at my disposal, and Distributed runs on different PCs. Is there any representative of the Multi-Core / Distributed category which I could use otherwise?
Does asyncmap belong to this group?