Fast sequential, threaded, and distributed for-loops for Julia, fold for humans.FLoops.jl provides a macro @floop. It can be used to generate a fast generic sequential and parallel iteration over complex collections. Furthermore, the loop written in @floop can be executed with any compatible executors. See FoldsThreads.jl for various thread-based executors that are optimized for different kinds of loops. FoldsCUDA.jl provides an executor for GPU. FLoops.jl also provides a simple distributed executor.
Features
- Sequential (single-thread) loop
- FLoops works by converting the native Julia for loop syntax to foldl defined by Transducers.jl
- FoldsThreads.jl provides multiple alternative thread-based executors
- FoldsCUDA.jl provides a simple GPU executor
- FLoops can generate high-performance parallel iterations for any collections that supports SplittablesBase.jl interface
- Examples available
Categories
Data VisualizationLicense
MIT LicenseFollow FLoops.jl
Other Useful Business Software
Agentic AI SRE built for Engineering and DevOps teams.
NeuBird AI's agentic AI SRE delivers autonomous incident resolution, helping team cut MTTR up to 90% and reclaim engineering hours lost to troubleshooting.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of FLoops.jl!