3 ms·
The Folds.jl package [1] mentioned in the article is very nicely written, IMHO. For another alternative to Julia's built-in `Threads.@threads` macro, folks may
by cbkeller 5y ago
The Folds.jl package [1] mentioned in the article is very nicely written, IMHO.
For another alternative to Julia's built-in `Threads.@threads` macro, folks may also be interested in checking out `@batch` from Polyester.jl [2] (formerly CheapThreads.jl), which features particularly low-overhead threading.
[1] https://github.com/JuliaFolds/Folds.jl https://github.com/JuliaFolds/Folds.jl
[2] https://github.com/JuliaSIMD/Polyester.jl https://github.com/JuliaSIMD/Polyester.jl