nowfound

Dev tools · March 23, 2026

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

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…

Threadprocs – executables sharing one address space (0-copy pointers) launched on March 23, 2026 with 64 votes, #685 of 23,380 launches that month and more than 95% of that year's launches.

Visit github.com ↗Alternativestop 3% of March 2026

In plain words

Threadprocs launches multiple independent programs into a single shared virtual address space on Linux, allowing them to behave as separate processes while sharing memory. Unlike traditional threads, each threadproc remains standalone with independent binaries and lifetimes. Unlike separate processes, pointers are valid across threadprocs without code changes, enabling direct access to pointer-based data structures like strings and maps. This bridges the gap between thread-based and multi-process architectures for developers needing isolated execution with shared memory efficiency.

written from the facts on this page · September 2026

From the sources

Experimental thread-like processes, multiple executables in one address space - jer-irl/threadprocs

This repository contains experimental code for thread-like processes, or multiple programs running in a shared address space . Each threadproc behaves like a process with its own executable, globals, libc instance, etc, but pointers are valid across threadprocs. This blends the Posix process model with the Posix multi-threading programming model, and enables things like zero-copy access to pointer-based data structures. See tproc-actors for one possible application framework building on top of threadprocs. The code for the demoed programs is at example/sharedstr/allocstr.cpp and example/sharedstr/printstr.cpp , and neither contains any magic ( /proc/[pid]/mem , etc), nor awareness of the…from github.com

In the maker’s words, at launch

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.…

Does a similar job

all alternatives →
  • UC
    uThreads – Concurrent User Threads in C and C++2016 · samanbarghi.com · ▲135
  • I wrote a minimal memory allocator in CNov 2025 · github.com · ▲137

    A fun toy memory allocator (not thread safe, that's a future TODO). I also wanted to explain how I approached it, so I also wrote a tutorial blog post (~20 minute read) covering the code which you can find the link to in the README.

  • Sub-millisecond VM sandboxes using CoW memory forkingMar 2026 · github.com · ▲311

    I wanted to see how fast an isolated code sandbox could start if I never had to boot a fresh VM. So instead of launching a new microVM per execution, I boot Firecracker once with Python and numpy already loaded, then snapshot the full VM state. Every execution after that creates a new KVM VM backed by a `MAP_PRIVATE` mapping of the snapshot memory, so Linux gives me copy-on-write pages automatically. That means each sandbox starts from an already-running Python process inside a real VM, runs the code, and exits. These are real KVM VMs, not containers: separate guest kernel, separate guest…

  • Forkrun – NUMA-aware shell parallelizer (50×–400× faster than parallel)Mar 2026 · github.com · ▲151

    forkrun is the culmination of a 10-year-long journey focused on "how to make shell parallelization fast". What started as a standard "fork jobs in a loop" has turned into a lock-free, CAS-retry-loop-free, SIMD-accelerated, self-tuning, NUMA aware shell-based stream parallelization engine that is (mostly) a drop-in replacement for xargs -P and GNU parallel. On my 14-core/28-thread i9-7940x, forkrun achieves: * 200,000+ batch dispatches/sec (vs ~500 for GNU Parallel) * ~95–99% CPU utilization across all 28 logical cores, even when the workload is non-existant (bash no-ops / `:`)…

  • A thread hierarchy management library in C2020 · github.com · ▲53

    Non-preemptive Thread Hierarchy Manager. Contribute to gueststar/nthm development by creating an account on GitHub.

  • A “living” Linux process with no memory2020 · github.com · ▲312

    A "living" Linux process with no memory. Contribute to izabera/zeromaps development by creating an account on GitHub.

More dev tools this month

the category →
  • /dev/null▲486

    a social network for devs

    Dev tools · 3d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 23d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, March 2026

the whole month →
  • AI-native CRM that builds itself and does work for you

    AI · Mar 2026 · lightfield.app

  • Tobira.ai▲728

    A network where AI agents find deals for their humans

    AI · Mar 2026 · tobira.ai

  • Switch from ChatGPT to Claude with import memory feature

    AI · Mar 2026 · claude.com

  • Littlebird remembers everything across your meetings, messages, docs, and apps, then takes action so you can recall any detail and never lose context.

    AI · Mar 2026 · littlebird.ai

  • Your AI Coworker that proactively executes tasks

    AI · Mar 2026 · viktor.com

  • Jupid▲659

    File your taxes with Claude Code

    Commerce · Mar 2026 · jupid.com