Add prefix ThreadsX. to functions from Base to get some speedup, if supported. The reduce-based functions support any collections that implement SplittablesBase.jl interface including arrays, Dict, Set, and iterator transformations. In particular, these functions support iterator comprehension. ThreadsX.jl is aiming at providing API compatible with Base functions to easily parallelize Julia programs. All functions that exist directly under ThreadsX namespace are public API and they implement a subset of API provided by Base. Everything inside ThreadsX.Implementations is an implementation detail. The public API functions of ThreadsX expect that the data structure and function(s) passed as argument are "thread-friendly" in the sense that operating on distinct elements in the given container from multiple tasks in parallel is safe. For example, ThreadsX.sum(f, array) assumes that executing f(::eltype(array)) and accessing elements as in array[i] from multiple threads is safe.

Features

  • ThreadsX.jl is aiming at providing API compatible with Base functions to easily parallelize Julia programs
  • Rich collection support
  • Add prefix ThreadsX
  • To find out functions supported by ThreadsX.jl, just type ThreadsX
  • The reduce-based functions support any collections that implement SplittablesBase.jl interface including arrays
  • Functions support iterator comprehension

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ThreadsX.jl

ThreadsX.jl Web Site

Other Useful Business Software
Planview is the leading end-to-end platform for Strategic Portfolio Management (SPM) and Digital Product Development (DPD) Icon
Planview is the leading end-to-end platform for Strategic Portfolio Management (SPM) and Digital Product Development (DPD)

Manage project and product portfolios enterprise-wide

Planview AdaptiveWork (formerly Clarizen) with embedded AI helps you proactively plan and deliver any type and size of portfolio, project, and work. Gain AI-enhanced visibility and insights, drive collaboration, and achieve better business outcomes across your organization.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

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

Additional Project Details

Programming Language

Julia

Related Categories

Julia Data Visualization Software

Registered

2023-11-13