C structured-concurrency

Open-source C projects categorized as structured-concurrency

C structured-concurrency Projects

  • 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?

  • 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

  • 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
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 structured-concurrency related posts

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

    3 projects | news.ycombinator.com | 13 Dec 2023
  • Polyphony: Fine-Grained Concurrency for Ruby

    3 projects | news.ycombinator.com | 12 May 2023
  • Libdill: Structured Concurrency for C (2016)

    4 projects | news.ycombinator.com | 1 Jun 2021


Project Stars
1 libdill 1,668
2 Polyphony 653

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