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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow FLoops.jl

FLoops.jl Web Site

Other Useful Business Software
Agentic AI SRE built for Engineering and DevOps teams. Icon
Agentic AI SRE built for Engineering and DevOps teams.

No More Time Lost to Troubleshooting

NeuBird AI's agentic AI SRE delivers autonomous incident resolution, helping team cut MTTR up to 90% and reclaim engineering hours lost to troubleshooting.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of FLoops.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Data Visualization Software

Registered

2023-11-13