René's URL Explorer Experiment


Title: GitHub - ashvardanian/ForkUnion: Low-latency NUMA-aware fork-join thread-pool with zero allocations, syscalls, CAS, or false-sharing on the hot path for C, C++, Rust, and Zig 🍴 · GitHub

Open Graph Title: GitHub - ashvardanian/ForkUnion: Low-latency NUMA-aware fork-join thread-pool with zero allocations, syscalls, CAS, or false-sharing on the hot path for C, C++, Rust, and Zig 🍴

X Title: GitHub - ashvardanian/ForkUnion: Low-latency NUMA-aware fork-join thread-pool with zero allocations, syscalls, CAS, or false-sharing on the hot path for C, C++, Rust, and Zig 🍴

Description: Low-latency NUMA-aware fork-join thread-pool with zero allocations, syscalls, CAS, or false-sharing on the hot path for C, C++, Rust, and Zig 🍴 - ashvardanian/ForkUnion

Open Graph Description: Low-latency NUMA-aware fork-join thread-pool with zero allocations, syscalls, CAS, or false-sharing on the hot path for C, C++, Rust, and Zig 🍴 - ashvardanian/ForkUnion

X Description: Low-latency NUMA-aware fork-join thread-pool with zero allocations, syscalls, CAS, or false-sharing on the hot path for C, C++, Rust, and Zig 🍴 - ashvardanian/ForkUnion

Opengraph URL: https://github.com/ashvardanian/ForkUnion

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:c39fdb8f-2935-2630-a9dd-5a0e86eea440
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idD40E:29416C:1BB2064:25BDA57:6A653C64
html-safe-nonce821853da444a2a45bffaaf240a2570064b35d3c9f2064cab13a591c211c129a5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDBFOjI5NDE2QzoxQkIyMDY0OjI1QkRBNTc6NkE2NTNDNjQiLCJ2aXNpdG9yX2lkIjoiNjgwOTYyNTQ3MDgzMjAzMjg2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2236bf25e65ccad01a52b642f4350de28dc3d50a10231bbc080af2ec4ddef35b
hovercard-subject-tagrepository:974172475
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/ashvardanian/ForkUnion
twitter:imagehttps://repository-images.githubusercontent.com/974172475/41e6ce8e-a6e8-43de-8d95-a43d51ec1451
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/974172475/41e6ce8e-a6e8-43de-8d95-a43d51ec1451
og:image:altLow-latency NUMA-aware fork-join thread-pool with zero allocations, syscalls, CAS, or false-sharing on the hot path for C, C++, Rust, and Zig 🍴 - ashvardanian/ForkUnion
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-cache
go-importgithub.com/ashvardanian/ForkUnion git https://github.com/ashvardanian/ForkUnion.git
octolytics-dimension-user_id1983160
octolytics-dimension-user_loginashvardanian
octolytics-dimension-repository_id974172475
octolytics-dimension-repository_nwoashvardanian/ForkUnion
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id974172475
octolytics-dimension-repository_network_root_nwoashvardanian/ForkUnion
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ashvardanian/fork_union#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fashvardanian%2FForkUnion
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fashvardanian%2FForkUnion
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=ashvardanian%2FForkUnion
Reloadhttps://github.com/ashvardanian/fork_union
Reloadhttps://github.com/ashvardanian/fork_union
Reloadhttps://github.com/ashvardanian/fork_union
ashvardanian https://github.com/ashvardanian
ForkUnionhttps://github.com/ashvardanian/ForkUnion
Notifications https://github.com/login?return_to=%2Fashvardanian%2FForkUnion
Fork 23 https://github.com/login?return_to=%2Fashvardanian%2FForkUnion
Star 364 https://github.com/login?return_to=%2Fashvardanian%2FForkUnion
Code https://github.com/ashvardanian/ForkUnion
Issues 2 https://github.com/ashvardanian/ForkUnion/issues
Pull requests 1 https://github.com/ashvardanian/ForkUnion/pulls
Actions https://github.com/ashvardanian/ForkUnion/actions
Security and quality 0 https://github.com/ashvardanian/ForkUnion/security
Insights https://github.com/ashvardanian/ForkUnion/pulse
Code https://github.com/ashvardanian/ForkUnion
Issues https://github.com/ashvardanian/ForkUnion/issues
Pull requests https://github.com/ashvardanian/ForkUnion/pulls
Actions https://github.com/ashvardanian/ForkUnion/actions
Security and quality https://github.com/ashvardanian/ForkUnion/security
Insights https://github.com/ashvardanian/ForkUnion/pulse
https://github.com/ashvardanian/ForkUnion
Brancheshttps://github.com/ashvardanian/ForkUnion/branches
Tagshttps://github.com/ashvardanian/ForkUnion/tags
https://github.com/ashvardanian/ForkUnion/branches
https://github.com/ashvardanian/ForkUnion/tags
510 Commitshttps://github.com/ashvardanian/ForkUnion/commits/main/
https://github.com/ashvardanian/ForkUnion/commits/main/
.githookshttps://github.com/ashvardanian/ForkUnion/tree/main/.githooks
.githookshttps://github.com/ashvardanian/ForkUnion/tree/main/.githooks
.githubhttps://github.com/ashvardanian/ForkUnion/tree/main/.github
.githubhttps://github.com/ashvardanian/ForkUnion/tree/main/.github
.vscodehttps://github.com/ashvardanian/ForkUnion/tree/main/.vscode
.vscodehttps://github.com/ashvardanian/ForkUnion/tree/main/.vscode
chttps://github.com/ashvardanian/ForkUnion/tree/main/c
chttps://github.com/ashvardanian/ForkUnion/tree/main/c
cmakehttps://github.com/ashvardanian/ForkUnion/tree/main/cmake
cmakehttps://github.com/ashvardanian/ForkUnion/tree/main/cmake
includehttps://github.com/ashvardanian/ForkUnion/tree/main/include
includehttps://github.com/ashvardanian/ForkUnion/tree/main/include
rusthttps://github.com/ashvardanian/ForkUnion/tree/main/rust
rusthttps://github.com/ashvardanian/ForkUnion/tree/main/rust
scriptshttps://github.com/ashvardanian/ForkUnion/tree/main/scripts
scriptshttps://github.com/ashvardanian/ForkUnion/tree/main/scripts
zighttps://github.com/ashvardanian/ForkUnion/tree/main/zig
zighttps://github.com/ashvardanian/ForkUnion/tree/main/zig
.clang-formathttps://github.com/ashvardanian/ForkUnion/blob/main/.clang-format
.clang-formathttps://github.com/ashvardanian/ForkUnion/blob/main/.clang-format
.clang-tidyhttps://github.com/ashvardanian/ForkUnion/blob/main/.clang-tidy
.clang-tidyhttps://github.com/ashvardanian/ForkUnion/blob/main/.clang-tidy
.cmake-format.pyhttps://github.com/ashvardanian/ForkUnion/blob/main/.cmake-format.py
.cmake-format.pyhttps://github.com/ashvardanian/ForkUnion/blob/main/.cmake-format.py
.dprint.jsonhttps://github.com/ashvardanian/ForkUnion/blob/main/.dprint.json
.dprint.jsonhttps://github.com/ashvardanian/ForkUnion/blob/main/.dprint.json
.git-blame-ignore-revshttps://github.com/ashvardanian/ForkUnion/blob/main/.git-blame-ignore-revs
.git-blame-ignore-revshttps://github.com/ashvardanian/ForkUnion/blob/main/.git-blame-ignore-revs
.gitattributeshttps://github.com/ashvardanian/ForkUnion/blob/main/.gitattributes
.gitattributeshttps://github.com/ashvardanian/ForkUnion/blob/main/.gitattributes
.gitignorehttps://github.com/ashvardanian/ForkUnion/blob/main/.gitignore
.gitignorehttps://github.com/ashvardanian/ForkUnion/blob/main/.gitignore
.taplo.tomlhttps://github.com/ashvardanian/ForkUnion/blob/main/.taplo.toml
.taplo.tomlhttps://github.com/ashvardanian/ForkUnion/blob/main/.taplo.toml
CITATION.cffhttps://github.com/ashvardanian/ForkUnion/blob/main/CITATION.cff
CITATION.cffhttps://github.com/ashvardanian/ForkUnion/blob/main/CITATION.cff
CMakeLists.txthttps://github.com/ashvardanian/ForkUnion/blob/main/CMakeLists.txt
CMakeLists.txthttps://github.com/ashvardanian/ForkUnion/blob/main/CMakeLists.txt
Cargo.tomlhttps://github.com/ashvardanian/ForkUnion/blob/main/Cargo.toml
Cargo.tomlhttps://github.com/ashvardanian/ForkUnion/blob/main/Cargo.toml
LICENSEhttps://github.com/ashvardanian/ForkUnion/blob/main/LICENSE
LICENSEhttps://github.com/ashvardanian/ForkUnion/blob/main/LICENSE
README.mdhttps://github.com/ashvardanian/ForkUnion/blob/main/README.md
README.mdhttps://github.com/ashvardanian/ForkUnion/blob/main/README.md
VERSIONhttps://github.com/ashvardanian/ForkUnion/blob/main/VERSION
VERSIONhttps://github.com/ashvardanian/ForkUnion/blob/main/VERSION
build.rshttps://github.com/ashvardanian/ForkUnion/blob/main/build.rs
build.rshttps://github.com/ashvardanian/ForkUnion/blob/main/build.rs
build.zighttps://github.com/ashvardanian/ForkUnion/blob/main/build.zig
build.zighttps://github.com/ashvardanian/ForkUnion/blob/main/build.zig
build.zig.zonhttps://github.com/ashvardanian/ForkUnion/blob/main/build.zig.zon
build.zig.zonhttps://github.com/ashvardanian/ForkUnion/blob/main/build.zig.zon
rust-toolchain.tomlhttps://github.com/ashvardanian/ForkUnion/blob/main/rust-toolchain.toml
rust-toolchain.tomlhttps://github.com/ashvardanian/ForkUnion/blob/main/rust-toolchain.toml
READMEhttps://github.com/ashvardanian/fork_union
Apache-2.0 licensehttps://github.com/ashvardanian/fork_union
https://github.com/ashvardanian/fork_union#forkunion
https://github.com/ashvardanian/ForkUnion
USearchhttps://github.com/unum-cloud/usearch
NumKonghttps://github.com/ashvardanian/NumKong
StringZillahttps://github.com/ashvardanian/StringZilla
heap allocationshttps://github.com/ashvardanian/fork_union#memory-allocations
system callshttps://github.com/ashvardanian/fork_union#locks-and-mutexes
CAS operationshttps://github.com/ashvardanian/fork_union#atomics-and-cas
false-sharinghttps://github.com/ashvardanian/fork_union#alignment--false-sharing
Full tables ↓https://github.com/ashvardanian/fork_union#performance
NUMAhttps://en.wikipedia.org/wiki/Non-uniform_memory_access
https://github.com/ashvardanian/fork_union#basic-usage
NUMA extensionshttps://github.com/ashvardanian/fork_union#non-uniform-memory-access-numa
https://github.com/ashvardanian/fork_union#intro-in-rust
hardware topologyhttps://github.com/ashvardanian/fork_union#hardware-topology
NUMA section belowhttps://github.com/ashvardanian/fork_union#non-uniform-memory-access-numa
check out related exampleshttps://github.com/ashvardanian/fork_union#rayon-style-parallel-iterators
https://github.com/ashvardanian/fork_union#intro-in-c
NUMA section belowhttps://github.com/ashvardanian/fork_union#non-uniform-memory-access-numa
https://github.com/ashvardanian/fork_union#intro-in-zig
hardware topologyhttps://github.com/ashvardanian/fork_union#hardware-topology
https://github.com/ashvardanian/fork_union#intro-in-c-1
hardware topologyhttps://github.com/ashvardanian/fork_union#hardware-topology
https://github.com/ashvardanian/fork_union#gcc-nested-functions-extension
nested functionshttps://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html
https://github.com/ashvardanian/fork_union#clang-blocks-extension
blockshttps://clang.llvm.org/docs/BlockLanguageSpec.html
https://github.com/ashvardanian/fork_union#alternatives--differences
taskflow/taskflowhttps://github.com/taskflow/taskflow
progschj/ThreadPoolhttps://github.com/progschj/ThreadPool
bshoshany/thread-poolhttps://github.com/bshoshany/thread-pool
vit-vit/CTPLhttps://github.com/vit-vit/CTPL
mtrebi/thread-poolhttps://github.com/mtrebi/thread-pool
tokio-rs/tokiohttps://github.com/tokio-rs/tokio
rayon-rs/rayonhttps://github.com/rayon-rs/rayon
smol-rs/smolhttps://github.com/smol-rs/smol
std.Thread.Poolhttps://ziglang.org/documentation/master/std/#std.Thread.Pool
https://github.com/ashvardanian/fork_union#locks-and-mutexes
"futex"https://en.wikipedia.org/wiki/Futex
"system calls"https://en.wikipedia.org/wiki/System_call
https://github.com/ashvardanian/fork_union#memory-allocations
NUMAhttps://en.wikipedia.org/wiki/Non-uniform_memory_access
CAShttps://en.wikipedia.org/wiki/Compare-and-swap
https://github.com/ashvardanian/fork_union#atomics-and-cas
memory consistency modelhttps://en.wikipedia.org/wiki/Memory_ordering
Arm and Power much more suitable for lock-free programminghttps://arangodb.com/2021/02/cpp-memory-model-migrating-from-x86-to-arm/
can easily take 50 CPU cycleshttps://travisdowns.github.io/blog/2020/07/06/concurrency-costs
https://github.com/ashvardanian/fork_union#alignment--false-sharing
generally 64 bytes on x86https://stackoverflow.com/a/39887282
depending on the BIOS "spatial prefetcher" settingshttps://www.techarp.com/bios-guide/cpu-adjacent-sector-prefetch/
fetch 2 cache lines at a time starting with Sandy Bridgehttps://stackoverflow.com/a/72127222
https://github.com/ashvardanian/fork_union#pro-tips
https://github.com/ashvardanian/fork_union#hardware-topology
https://github.com/ashvardanian/fork_union#non-uniform-memory-access-numa
NumKonghttps://github.com/ashvardanian/NumKong
USearchhttps://github.com/unum-cloud/usearch/pulls
https://github.com/ashvardanian/fork_union#efficient-busy-waiting
WFET on Armhttps://developer.arm.com/documentation/ddi0602/2025-03/Base-Instructions/WFET--Wait-for-event-with-timeout-
https://github.com/ashvardanian/fork_union#rayon-style-parallel-iterators
https://github.com/ashvardanian/fork_union#performance
OpenMPhttps://www.openmp.org
Rayonhttps://github.com/rayon-rs/rayon
Taskflowhttps://github.com/taskflow/taskflow
https://github.com/ashvardanian/fork_union#n-body--dispatch-latency
https://github.com/ashvardanian/fork_union#connected-components--fork-join-frequency
https://github.com/ashvardanian/fork_union#safety--logic
https://github.com/ashvardanian/fork_union#why-dont-we-need-atomics-for-total_threads
https://github.com/ashvardanian/fork_union#why-dont-we-need-atomics-for-a-job-pointer
https://github.com/ashvardanian/fork_union#how-do-we-deal-with-overflows-and-size_max-sized-tasks
https://github.com/ashvardanian/fork_union#why-not-reimplement-it-in-rust
https://github.com/ashvardanian/fork_union#testing-and-benchmarking
https://github.com/ashvardanian/fork_union#citation
CITATION.cffhttps://github.com/ashvardanian/ForkUnion/blob/main/CITATION.cff
https://github.com/ashvardanian/fork_union#license
ashvardanian.com/posts/beyond-openmp-in-cpp-rust/https://ashvardanian.com/posts/beyond-openmp-in-cpp-rust/
armhttps://github.com/topics/arm
atomicshttps://github.com/topics/atomics
compare-and-swaphttps://github.com/topics/compare-and-swap
concurrencyhttps://github.com/topics/concurrency
memory-modelhttps://github.com/topics/memory-model
mpihttps://github.com/topics/mpi
multithreadinghttps://github.com/topics/multithreading
numahttps://github.com/topics/numa
openmphttps://github.com/topics/openmp
parallel-computinghttps://github.com/topics/parallel-computing
parallel-stlhttps://github.com/topics/parallel-stl
parallelismhttps://github.com/topics/parallelism
rayonhttps://github.com/topics/rayon
risc-vhttps://github.com/topics/risc-v
thread-poolhttps://github.com/topics/thread-pool
threadpoolhttps://github.com/topics/threadpool
x86-64https://github.com/topics/x86-64
Readmehttps://github.com/ashvardanian/fork_union#readme-ov-file
Apache-2.0 licensehttps://github.com/ashvardanian/fork_union#Apache-2.0-1-ov-file
Activityhttps://github.com/ashvardanian/ForkUnion/activity
364 starshttps://github.com/ashvardanian/ForkUnion/stargazers
10 watchinghttps://github.com/ashvardanian/ForkUnion/watchers
23 forkshttps://github.com/ashvardanian/ForkUnion/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fashvardanian%2FForkUnion&report=ashvardanian+%28user%29
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.