Skip to content

Safe Parallel STL#9

Draft
ashvardanian wants to merge 3 commits intomain-devfrom
main-safe-parallel-stl
Draft

Safe Parallel STL#9
ashvardanian wants to merge 3 commits intomain-devfrom
main-safe-parallel-stl

Conversation

@ashvardanian
Copy link
Copy Markdown
Owner

There are several implementations of the Parallel Standard Template Library (STL). The most widely adopted one, used by GCC, is based on Intel's oneAPI. Other modern alternative, such as NVIDIA's Senders, focus more on asynchrony. Every library has different goals. Fork Union focuses on:

  • Exception-free noexcept operations
  • No std::bad_alloc and hidden memory allocations
  • Lock-free algorithms built on std::atomic
  • Synchronous fork-join style parallelism

Given that Fork Union already provides primitives like for_n and for_n_dynamic, this PR poses a new direction:
Can we identify a core set of "standard-like" parallel algorithms that can be efficiently implemented the same way?

At this stage, this PR serves as a placeholder for that exploration.

@ashvardanian ashvardanian linked an issue May 29, 2025 that may be closed by this pull request
@ashvardanian ashvardanian marked this pull request as draft May 31, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Map-Filter-Reduce for Rust and/or C++

1 participant