C Concurrency

Open-source C projects categorized as Concurrency

Top 10 C Concurrency Projects

  • libmill

    Go-style concurrency in C

  • Project mention: Show HN: A pure C89 implementation of Go channels, with blocking selects | news.ycombinator.com | 2023-12-13

    libmill (https://github.com/sustrik/libmill) and libdill (https://github.com/sustrik/libdill) should be similar and probably mentioned.

    As far as I understand the differences between CspChan and libmill might be that libmill also implements lightweight tasks (coroutines) and everything that goes with it (IO multiplexing, async timers, etc), while CspChan uses OS threads?

  • ck

    Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • facil.io

    Your high performance web application C framework

  • Project mention: Rage: Fast web framework compatible with Rails | news.ycombinator.com | 2023-12-04

    Most of the speed I believe is from using the server iodine https://github.com/boazsegev/iodine which is a wrapper around facil.io https://facil.io that is built using C.

  • libdill

    Structured concurrency in C

  • Project mention: Show HN: A pure C89 implementation of Go channels, with blocking selects | news.ycombinator.com | 2023-12-13

    libmill (https://github.com/sustrik/libmill) and libdill (https://github.com/sustrik/libdill) should be similar and probably mentioned.

    As far as I understand the differences between CspChan and libmill might be that libmill also implements lightweight tasks (coroutines) and everything that goes with it (IO multiplexing, async timers, etc), while CspChan uses OS threads?

  • libcsp

    A concurrency C library 10x faster than Golang.

  • umka-lang

    Umka: a statically typed embeddable scripting language

  • Project mention: VDrift: Cross-Platform Driving Simulation | news.ycombinator.com | 2023-12-28
  • Polyphony

    Fine-grained concurrency for Ruby

  • Project mention: Should You Be Scared of Unix Signals? | news.ycombinator.com | 2023-10-16

    When using green threads/fibers/coroutines, an interesting technique to make signal handling safer is to run the signal handler asynchronously on a separate fiber/green thread. That way most of the problems of dealing with signals go away, and there's basically no limitation on what you can do inside the signal handler.

    I've successfully used this technique in Polyphony [1], a fiber-based Ruby gem for writing concurrent programs. When a signal occurs, Polyphony creates a special-purpose fiber that runs the signal handling code. The fiber is put at the head of the run queue, and is resumed once the currently executed fiber yields control.

    [1] https://github.com/digital-fabric/polyphony

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • cone

    Cone Programming Language

  • lispBM

    An interpreter for a concurrent lisp-like language with message-passing and pattern-matching implemented in C.

  • Project mention: Joel Svensson - LispBM (LBM) | /r/haskell | 2023-12-08

    Code: https://github.com/svenssonjoel/lispBM

  • moonagents

    Reactive state machines in Lua

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Concurrency related posts

  • Show HN: A pure C89 implementation of Go channels, with blocking selects

    3 projects | news.ycombinator.com | 13 Dec 2023
  • Polyphony 1.4 Released

    2 projects | /r/ruby | 2 Jul 2023
  • Polyphony: Fine-Grained Concurrency for Ruby

    3 projects | news.ycombinator.com | 12 May 2023
  • Rpmalloc – General Purpose Memory Allocator

    1 project | news.ycombinator.com | 18 Apr 2023
  • Polyphony 0.99 released. Last release before 1.0!

    2 projects | /r/ruby | 9 Mar 2023
  • How can I communicate across coroutines?

    1 project | /r/lua | 7 Dec 2022
  • Falsehoods programmers believe about undefined behavior

    1 project | /r/C_Programming | 28 Nov 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 21 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source Concurrency projects in C? This list will help you:

Project Stars
1 libmill 2,711
2 ck 2,303
3 facil.io 2,024
4 libdill 1,668
5 libcsp 1,295
6 umka-lang 976
7 Polyphony 653
8 cone 502
9 lispBM 80
10 moonagents 5

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com