frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: ForkUnion v3 – Faster OpenMP-style thread-pool for C, C++, Rust, & Zig

https://github.com/ashvardanian/ForkUnion
1•ashvardanian•1h ago
Hi community! Wanted to share a project of mine that is now enabling parallelism across many of my open-source projects: ForkUnion.

The absolute majority of "thread pool" projects on GitHub are `std::deque<std::shared_ptr<task_t>>` task queues guarded by a `std::mutex`. I'm not sure which part of that equation I'm more allergic to, but I knew I had to find an alternative. It probably exists somewhere, but I ended up implementing everything from scratch last year.

This thread pool is designed around hardware properties. It avoids dynamic memory allocations (obviously), mutexes (less obviously), and even Compare-And-Swap atomics (what?!). It's designed exclusively around Read-Modify-Write atomics and basic `for_n` and `for_n_dynamic` verbs. A very minimalistic vocabulary with a lot of machinery under the hood.

Namely, it can leverage WFET on Arm and Zawrs on RISC-V, it knows how to demote cache lines on x86, and it tracks the NUMA topology and measures compute-domain to memory-domain affinity itself, instead of relying on the OS... and a lot more!

It is available for C, C++, Rust, and Zig. It passes CI on Linux, macOS, Windows, iOS, and Android, despite every one of those OSes having quite different ways of exposing and controlling threads and memory. It also comes with runtime dynamic dispatch (like all of my major projects), so you can compile once, ship your application everywhere, and it will automatically leverage the newest capabilities on that platform.

Thought it was a good time to share it here. Let me know if you notice any bugs or have features in mind ;)

https://github.com/ashvardanian/ForkUnion

Iran Messaged Vance Warning That US Envoys Were "Abusing" Their Inside Access

https://www.dropsitenews.com/p/iran-jd-vance-kushner-witkoff-exploiting-negotiations
1•enraged_camel•1m ago•0 comments

ChatGPT's Wokeness Could Cost OpenAI Millions [video]

https://www.youtube.com/watch?v=RUgF7MoUetk
1•moebrowne•1m ago•0 comments

Lab 6

https://lab6.com
1•figbert•1m ago•0 comments

The Alignment Sciences Academy

https://alignment-sciences-academy.citizen-of-earth.chatgpt.site/
1•CitizenOfEarth•4m ago•0 comments

PolicyBot–open source GitHub Action enforce commit convention and PR quality

https://github.com/mogwi1983/policybot
1•jamesrodriguez6•7m ago•0 comments

Redis slashed 25% of its Tel Aviv workforce (and 200 worldwide)

https://www.timesofisrael.com/israeli-founded-data-tech-unicorn-set-to-slash-25-of-its-tel-aviv-w...
2•ohjeez•8m ago•0 comments

Tell HN: Fable Credits Are 150x More Expensive

3•yesitcan•10m ago•1 comments

Falsehoods Programmers Believe About Names (2010)

https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/
1•FigurativeVoid•10m ago•0 comments

Tipping Points: When the Climate System Flips

https://www.tobiasreithmeier.de/en/blog/ipcc-tipping-points-climate-system
1•JuriKeller•12m ago•0 comments

Five arrested after Hong Kong police raid independent bookshops

https://www.bbc.com/news/articles/cq61660qpdpo
1•tartoran•14m ago•0 comments

Three Ways to Write a Table in Podlite

https://www.perl.com/article/three-ways-to-write-a-table-in-podlite/
2•oalders•15m ago•0 comments

A Case Against SDKs

https://twitter.com/alvinsng/status/2077114275412512868
4•favoboa•19m ago•1 comments

Leaked Suno code lists 2,013,545 YouTube Music clips

https://www.theverge.com/ai-artificial-intelligence/966072/suno-ai-music-training-scraping-youtub...
1•logickkk1•21m ago•1 comments

Musk wants to open source X

https://twitter.com/elonmusk/status/2077361679034118271
2•miohtama•21m ago•1 comments

Show HN: Limits, an on-device iOS app for tracking AI usage limits

https://getlimits.app
1•treexs•22m ago•0 comments

Fourier pixels for bidirectional light control

https://www.nature.com/articles/s41586-026-10681-7
2•gnabgib•22m ago•0 comments

Every successful GPT-Red attack becomes defender training data

https://twitter.com/OpenAI/status/2077446721161093124
2•logickkk1•22m ago•0 comments

CVE-2026-15409: SonicWall SMA 1000 SSRF Zero-Day

https://hellorecon.com/blog/cve-2026-15409
1•slvnx•22m ago•0 comments

Making 768 servers look like 1

https://planetscale.com/blog/making-768-servers-look-like-1
2•aarvin_roshin•23m ago•0 comments

Dev Log #0: A look inside GSV

https://gsv.space/blog/dev-log-0/
1•deathbyknowledg•23m ago•0 comments

Show HN: Health.md, an Apple Health exporter for files and self-hosted APIs

https://github.com/CodyBontecou/health-md
1•codybontecou•23m ago•0 comments

Egyptian Afterlife Walkthrough

https://zhenyi.gibber.blog/egyptian-afterlife-walkthrough
1•zhenyi•24m ago•0 comments

Human intelligence may lie in the power of a single brain cell

https://medicalxpress.com/news/2026-07-secret-human-intelligence-power-brain.html
2•gmays•25m ago•0 comments

The Chip Is a $15,000 25-MPH EV That Makes Driving Optional

https://insideevs.com/news/801772/chip-motors-ev-remote-driving-2026/
1•atlasunshrugged•26m ago•1 comments

Open-source multi-gateway payments in ~10 lines of code

https://github.com/paycan-app/paycan
2•mehraban•28m ago•0 comments

Join DreamGPT

https://joindreamgpt.com/
1•kinduff•28m ago•0 comments

Three governments agree on something the AI industry doesn't want to hear

https://www.theattachmenteconomy.com/p/three-governments-agree-on-something
3•mikelgan•29m ago•1 comments

LHIC – A local-first browser agent with 30ms latency and $0 LLM cost

https://github.com/chengmatt416/LHIC
1•pinyencheng•30m ago•0 comments

Microsoft Copilot OS revealed in LEAKED video

https://www.windowscentral.com/microsoft/windows-11/microsoft-copilot-os-revealed-in-leaked-video...
3•delduca•31m ago•1 comments

Show HN: AI Workflow Builder App Template for React

https://www.jointjs.com/demos/ai-workflow-builder
1•durman•31m ago•1 comments