ParallelAccelerator.jl vs Devectorize.jl vs other

What’s the difference between ParallelAccelerator.jl and Devectorize.jl?

I’ve seen there are some sparse threads speaking about this two packages and about how to do Julia faster…

But how do they compare in terms of methodology?
And what about speed performance, memory, easy of use…?
Any other prefered alternative?

I’ve seen some discussion about other languages such as Chapel.
What’s expected from Julia or it’s packages in the long term?

Devectorize is just a macro that transform certain syntax to loops. Parallelaccelerator is a full fledged compiler doing much more advanced transformations.

1 Like

See More Dots: Syntactic Loop Fusion in Julia

The problem I see is that Parallelaccelerator doesn’t work on Windows, at least no out-of-the-box

Fortunately, as mentioned in the link that @stevengj posted, Julia has gained the ability to devectorize and fuse loops without any external packages at all. As of Julia v0.6, you can just write: a .* b .+ c .* d .+ a and get exactly one loop over the data, just as you would with Devectorize on earlier version of Julia.

1 Like

Do you think ParallelAccelerator will ever be available for Windows too?
Or now with Julia 0.6 we won’t notice much its benefits?

.-fusion still doesn’t parallelize.

Relevant ticket on GitHub: