frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I got tired of slow DB inserts, so I wrote a zero-syscall IPC in Go (18M TPS)

https://github.com/GenshIv/hft-ipc
5•ihariv•1d ago

Comments

ihariv•1d ago
Hi Everyone,

I'm sharing a library I wrote for ultra-low latency, zero-syscall Inter-Process Communication in Go.

It uses Shared Memory (mmap) and a lock-free ring buffer built purely on sync/atomic, padded to 64 bytes to prevent false sharing.

Some local benchmarks (Ryzen 9 7950X3D, zero allocations): - 1-to-1 delivery: ~56 ns/op (~17.5M TPS) - 3-to-1 Orchestrator pattern (multiplexing): ~51.8 ns/message

It's cross-platform (works on Linux, Windows, macOS) and protects against process crashes using a Peek/Ack pattern (guaranteed At-Least-Once delivery) so you don't lose data if your consumer OOMs.

I built this from scratch for extreme conditions where you can't afford to lose a single CPU tick. I'd love to hear your thoughts on the architecture, any edge cases I might have missed with mmap/atomics in Go, and general feedback!

How AI Became More Expensive Than the Workers It Replaced [video]

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

The Safari MCP server for web developers

https://webkit.org/blog/18136/introducing-the-safari-mcp-server-for-web-developers/
1•coloneltcb•2m ago•0 comments

Ask HN: Best Local LLM Setup for a 128GB M4 Max Mac Studio?

1•linzhangrun•2m ago•0 comments

Seeing and Being Seen

https://www.sambish.com/essays/seeing/
2•sambishop•2m ago•0 comments

Honorary Police

https://en.wikipedia.org/wiki/Honorary_Police
1•petethomas•4m ago•0 comments

What we learned when a user tried to load a 1 GB GML file in a browser

https://geodataviewer.com/blog/why-vector-tiles-for-large-gis-datasets/
2•twainyoung•11m ago•0 comments

The V Programming Language: A Revolutionary Approach to Modern Development

https://www.msn.com/en-us/news/technology/the-v-programming-language-a-revolutionary-approach-to-...
1•baranul•13m ago•0 comments

Open Source LLM Statistics and Trends (2026)

https://openllmstack.com/blog/open-source-llm-statistics/
1•sherlockxu•15m ago•0 comments

Microsoft's 90s Weapon That Made Windows Fast [video]

https://www.youtube.com/watch?v=jH0BYAkPj78
1•csense•17m ago•1 comments

Is tech ruining the World Cup?

https://www.bbc.com/audio/play/m002yq16
3•1vuio0pswjnm7•17m ago•0 comments

Epistemic Heat Death and the Signal-to-Noise Ratio of the Global Web

https://github.com/psyll/Epistemic-Heat-Death-and-the-Signal-to-Noise-Ratio-of-the-Global-Web
2•lioeters•18m ago•0 comments

Tesla's Electric Semi Has Its First Fatal Crash

https://www.forbes.com/sites/alanohnsman/2026/07/01/teslas-electric-semi-has-its-first-fatal-crash/
3•cdrnsf•19m ago•1 comments

Creating Joy in the User Experience

https://daveon.design/creating-joy-in-the-user-experience.html
2•thunderbong•20m ago•0 comments

TurboQuant can reduce vector index size by 10x at 100M Row Scale

https://github.com/pgvector/pgvector/pull/989
1•mxfeinberg•21m ago•0 comments

Google must pay record €4.1B (£3.5B) fine over antitrust issues

https://news.sky.com/story/google-must-pay-record-4-1bn-fine-over-antitrust-issues-13559819
2•geoffbp•26m ago•0 comments

North Korea patents soybean-based chocolate to bypass cocoa and sanctions

https://biz.chosun.com/en/en-society/2026/06/22/KBDUJI6IFJAIJODLXUAHV5IH3I/
3•mushstory•28m ago•0 comments

Giving admins more visibility and control over Claude spend

https://claude.com/blog/giving-admins-more-visibility-and-control-over-claude-usage-and-spend
2•geoffbp•32m ago•0 comments

Show HN: PriceProbe – zero-dependency competitor price tracker in Python

https://github.com/willylam2222-bot/priceprobe
1•l2602591158•33m ago•0 comments

Why build quantum computers if you can simulate them?

https://medium.com/@jkim_tran/why-build-quantum-computers-if-you-can-simulate-them-8fa87577b35f
1•jennifer-trin•36m ago•0 comments

CarPlay Is Additive

https://www.caseyliss.com/2026/7/2/carplay-is-additive-you-dolts
16•sprawl_•36m ago•9 comments

Show HN: Drop Flap Boards for All

https://dropflapboard.com
1•PaybackTony•38m ago•0 comments

Ease Comes After

https://easel.games/blog/2026-june-update
2•BSTRhino•47m ago•2 comments

The World's Top Economists Are Sounding the Alarm on AI

https://www.wsj.com/tech/ai/the-worlds-top-economists-are-sounding-the-alarm-on-ai-d99055b6
2•1vuio0pswjnm7•49m ago•2 comments

We should reduce the amount of generated information

https://www.bponnaluri.com/why-we-should-reduce-the-amount-of-generated-information/
2•gulugawa•51m ago•0 comments

LawZero: Safety from Honesty in a Disinterested AI Predictor

https://arxiv.org/abs/2606.29657
2•KingKunta•56m ago•0 comments

Peter Thiel in Aspen: The pope is 'working for the Chinese Communists'

https://www.cnn.com/2026/07/02/us/peter-thiel-aspen-pope-china-ai-cec
10•bhouston•57m ago•7 comments

In Defense of AI Mandates

https://charitydotwtf.substack.com/p/in-defense-of-ai-mandates
2•cyndunlop•58m ago•0 comments

What is agentic AI today, and what do we want it to be?

https://news.mit.edu/2026/agentic-ai-and-what-do-we-want-it-be-0630
2•sudo_cowsay•58m ago•1 comments

Brain's language network is more extensive than previously thought

https://news.mit.edu/2026/brain-language-network-more-extensive-than-previously-thought-0701
3•sudo_cowsay•59m ago•0 comments

Sebastian Mallaby: The AI Race Nobody Can Win, Foreign Affairs Interview [video]

https://www.youtube.com/watch?v=QQC6V8T8ry4
1•verdverm•1h ago•0 comments