Nicheloom visits: 58,050 all-time · 7,694 in the last 7 days

The opportunity tracker for new startups.

Today: 1,953 launches · Niche of the day: specialized calculation tools · See what launched today →

Threadprocs

executables sharing one address space (0-copy pointers)

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

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 implementing a user-space analogue of `exec()`, as well as careful manipulation of threadproc file descriptors, signals, etc. It is implemented entirely in unprivileged user space code: <https://github.com/jer-irl/threadprocs/blob/main/docs/02-imp...>.There is a simple demo demonstrating “cross-threadproc” memory dereferencing at <https://github.com/jer-irl/threadprocs/tree/main?tab=readme-...>, including a high-level diagram.This is relevant to systems of multiple processes with shared memory (often ring buffers or flat tables). These designs often require serialization or copying, and tend away from idiomatic C++ or Rust data structures. Pointer-based data structures cannot be passed directly.There are significant limitations and edge cases, and it’s not clear this is a practical model, but the project explores a way to relax traditional process memory boundaries while still structuring a system as independently launched components.

HN · launched Mar 23, 2026 · 64 upvotes (top 14%) · 0 views

Niche: scripting and execution runtimes · 56 launches, 4 in the last 7 days · Explore this niche →

Category and tags

  • Horizontal
  • Dev tools
  • Developer
  • Not AI
  • Hobby / open-source project

Visit website ↗ Source listing ↗

Could you build this?

No Running multiple distinct compiled executables within a single virtual address space while isolating their globals and lifetimes requires deep OS kernel, ELF loader, and linker-level hacking.

What it would actually take: Building this requires writing a custom user-space dynamic linker and ELF/Mach-O loader that maps distinct binary images into one virtual address space without symbol collisions or conflicting TLS (thread-local storage) regions. The hardest part is managing distinct static/global state, thread initialization, and libc runtime isolation so standard libraries do not corrupt each other when sharing pointer space. This demands world-class systems, compiler, and OS runtime expertise.

Discussion

20 comments analyzed.

Competitors mentioned: iceoryx - shared memory IPC with zero-copy for compatible data types, VMRPC - previous work on shared area memory protection, Solaris/Illumos Doors - similar RPC mechanism, dlopen-based plugin systems - alternative to executable loading, Erlang - message-passing concurrency model

Concerns raised: Removes address space isolation entirely, creating security/safety risks, Memory corruption risk when multiple processes access same data without proper locking, Breaks when running multiple instances with global state or incompatible library versions, Difficult to reason about code with shared memory and concurrency, CPU cache coherency issues with concurrent reads/writes to same memory

Feature requests: Support for heap-based and self-referential data structures, Call destructors for cleanup, Make Rust checker 'extra process' aware for shared memory scenarios, Support for data in nocopy encodings like Cap'n Proto or MessagePack across languages

Competitors

Other products that read as similar to this one : 207 launches clear the similarity bar, closest 8 shown.

Attention rank: #40 of 208 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 143 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.