FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Show HN: Threadprocs – executables sharing one address space (0-copy pointers)
NewsSystems

Show HN: Threadprocs – executables sharing one address space (0-copy pointers)

via Hacker Newsjer-irl3h ago

This project launches multiple independent programs into a single shared virtual address space, while still behaving like separate processes (independent binaries, globals, and lifetimes). When threadprocs share their address space, pointers are valid across them with no code changes for well-behaved Linux binaries. Unlike threads, each threadproc is a standalone and semi-isolated process. Unlike dlopen-based plugin systems, threadprocs run traditional executables with a `main()` function. Unlike POSIX processes, pointers remain valid across threadprocs because they share the same address space. This means that idiomatic pointer-based data structures like `std::string` or `std::unordered_map` can be passed between threadprocs and accessed directly (with the usual data race considerations). This accomplishes a programming model somewhere between pthreads and multi-process shared memory IPC. The implementation relies on directing ASLR and virtual address layout at load time and implement

Continue reading on Hacker News

Opens in a new tab

Read Full Article
0 views

Related Articles

Apple could put ads in Maps as soon as this summer
News

Apple could put ads in Maps as soon as this summer

The Verge • 26m ago

News

### Title: How Do Concrete Vaults Actually Work?

Medium Programming • 37m ago

News

A History of UW Central Computing: The Cyber Era

Lobsters • 54m ago

DoorDash introduces relief payments for drivers as the Iran-US war drives up gas prices
News

DoorDash introduces relief payments for drivers as the Iran-US war drives up gas prices

TechCrunch • 1h ago

Republicans in Congress add $250 annual federal EV tax to transport bill
News

Republicans in Congress add $250 annual federal EV tax to transport bill

Ars Technica • 1h ago

Discover More Articles