nowfound

Life & fun · alternatives · 2026

24 alternatives to C discrete event SIM w stackful coroutines runs 45x faster than SimPy

Hi all, I have built Cimba, a multithreaded discrete event simulation library in C. Cimba uses POSIX pthread multithreading for parallel execution of multiple simulation trials, while coroutines provide concurrency inside each simulated trial universe. The simulated processes are based on asymmetric stackful coroutines with the context switching hand-coded in assembly. The stackful coroutines make it natural to express agentic behavior by conceptually placing oneself "inside" that process and describing what it does. A process can run in an infinite loop or just act as a one-shot customer…

Cimba is a discrete event simulation library written in C that combines POSIX multithreading for parallel trial execution with stackful coroutines for concurrency within each simulation. Processes use asymmetric… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.

  1. 1

    Concurrency library for C (coroutines). Contribute to tidwall/neco development by creating an account on GitHub.

    2024 · github.com · its alternatives →

  2. 2

    Single header stackful cross-platform coroutine library in pure C. - edubart/minicoro

    2021 · github.com · its alternatives →

  3. 3

    :copyright: Concurrent Programming Library (Coroutine) for C11 - sharow/libconcurrent

    2016 · github.com · its alternatives →

  4. 4

    A cross-language, zero-copy coroutine observability framework based on the cTP shared-memory protocol, utilizing lock-free ring buffers for ultra-low overhead state tracing. - lixiasky-back/coroTracer

    Mar 2026 · github.com · its alternatives →

  5. 5

    If you work in C++, and you would like 2+ programs to share data structures (and/or native I/O handles a.k.a. FDs) among each other, there is a good chance Flow-IPC - will make it considerably less annoying to code than typical approaches; and - may massively reduce the latency involved. Those sharing Cap'n Proto-encoded data may have particular interest. Cap'n Proto (https://capnproto.org) is fantastic at its core task - in-place serialization with zero-copy - and we wanted to make the IPC (inter-process communication) involving capnp-serialized messages be zero-copy,…

    2024 · github.com · its alternatives →

  6. 6

    Pure C implementation of Go channels. Contribute to tylertreat/chan development by creating an account on GitHub.

    2014 · github.com · its alternatives →

  7. 7LC

    I made a simple virtual machine that runs C in the browser.This project is made as an experiment to see if C can be learned easier if the lower level is covered in paralel. Sandbox: https://vasyop.github.io/miniC-hosting Tutorial part 1: https://vasyop.github.io/miniC-hosting/?0 More info: https://github.com/vasyop/miniC-hosting/blob/master/README.md Please support this project: https://github.com/vasyop/miniC-hosting/blob/master/support.md

    2019 · its alternatives →

  8. 8

    C++14 high performance non-blocking network IO (based on epoll + boost.context) - matt-42/moustique

    2018 · github.com · its alternatives →

  9. 9

    Hello Hacker News. I’m Martin, a graduate student from Prague, and I’ve been working on Coros, a C++ library for task-based parallelism. After spending some time with OpenMP and oneTBB, I wanted to try building a library using modern features from the C++ standard library. I’ve used coroutines for task encapsulation and C++23 expected for exception handling, while trying to maintain good performance. Additionally, I’ve implemented monadic-like behavior to allow easy chaining of tasks, similar to the monadic operations in std::expected. You can check out the project here:…

    2024 · github.com · its alternatives →

  10. 10

    Run Claude, Codex & Cursor in parallel from one dashboard

    Mar 2026 · kingcode.shingoirie.com · its alternatives →

  11. 11

    A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects. - GitHub - rochus-keller/CspChan: A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects.

    2023 · github.com · its alternatives →

  12. 12

    A digital logic simulation written in C. Contribute to rzscheck/logic development by creating an account on GitHub.

    2020 · github.com · its alternatives →

  13. 13

    I wrote a lightweight scripting language that runs together with C. Specifically, it's a C library, you run it through a C function call, and it can callback your own C functions. Compiles to ~250 kB. No dependencies beyond the C standard library. Key language features: * Uses aliases not pointers, so it's memory-safe * Arrays are N-dimensional and resizable * Runs scripts or its own 'shell' * Error trapping * Methods, inheritance, etc. * Customizable syntax

    Jan 2026 · github.com · its alternatives →

  14. 14

    Tasks are a primitive for asynchronous programming and an alternative to working with threads directly. Instead of creating a thread, performing work, then waiting on it using synchronization primitives, you only define a unit of work and let a scheduler decide when and where to execute it. The threads that the scheduler uses are created once and reused for many tasks throughout the program's lifetime. In most cases, creating and executing a task requires not even a single syscall and is a significantly faster operation than creating a thread, resulting in lower latency. Furthermore, tasks…

    2024 · github.com · its alternatives →

  15. 15

    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 / `:`)…

    Mar 2026 · github.com · its alternatives →

  16. 16TC
  17. 17

    Hello everyone, Today we released iceoryx2 v0.4! iceoryx2 is a service-based inter-process communication (IPC) library designed to make communication between processes as fast as possible - like Unix domain sockets or message queues, but orders of magnitude faster and easier to use. It also comes with advanced features such as circular buffers, history, event notifications, publish-subscribe messaging, and a decentralized architecture with no need for a broker. For example, if you're working in robotics and need to process frames from a camera across multiple processes, iceoryx2 makes it…

    2024 · ekxide.io · its alternatives →

  18. 18

    I kept running into a structural problem with AI coding tools. You try one agent. It makes changes. You try another. Now you're manually diffing branches and cleaning up experimental commits. The tools are powerful, but the workflow isn’t designed for comparison. So I built Parallel Code. It runs Claude Code, Codex, and Gemini CLI natively (no API wrapper, no feature abstraction), but isolates each agent in: its own terminal its own Git worktree its own feature branch The workflow becomes: Spawn N worktrees Assign one AI agent per worktree Let them implement independently Compare diffs Merge…

    Mar 2026 · parallelcode.app · its alternatives →

  19. 19
    Orca▲89

    Your control center for parallel AI agents

    Apr 2026 · onorca.dev · its alternatives →

  20. 20

    Hi HN! My name is Olaf, I work at CircleCI as a technology advisor in the CTO office, came in through the acquisition of my company Vamp.io (progressive delivery for microservices on k8s) in 2021. Wanted to hear the HN community feedback and thoughts on a project we think could be very interesting when adding AI coding agents to the SDLC and your CI pipelines. Our team at CircleCI built Chunk sidecars after repeatedly running into the same issue internally: by the time our CI catches a failure, the agent has already moved on and most of the useful context is gone. The basic idea of Chunk…

    May 2026 · circleci.com · its alternatives →

  21. 21

    Runs your tasks at maximum concurrency. Contribute to cirocosta/cr development by creating an account on GitHub.

    2017 · github.com · its alternatives →

  22. 22

    "interesting" VM in C. Let's see how this goes. Contribute to tekknolagi/carp development by creating an account on GitHub.

    2014 · github.com · its alternatives →

  23. 23

    Inter-process C++ communication library to enable allocation managed between processes/threads and send/receive of allocated regions between producers/consumer processes or threads using this IPC buffer. (and yes it implements an M:N ring buffer too) - Usage · RaftLib/ipc Wiki

    2021 · github.com · its alternatives →

  24. 24

    I've been working on CloudRouter, a skill + CLI that gives coding agents like Claude Code and Codex the ability to start cloud VMs and GPUs. When an agent writes code, it usually needs to start a dev server, run tests, open a browser to verify its work. Today that all happens on your local machine. This works fine for a single task, but the agent is sharing your computer: your ports, RAM, screen. If you run multiple agents in parallel, it gets a bit chaotic. Docker helps with isolation, but it still uses your machine's resources, and doesn't give the agent a browser, a desktop, or a GPU to…

    Feb 2026 · cloudrouter.dev · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →