Hacker GitHub

← All repos

frameworklabs/proto_activities

View on GitHub ↗ ★ 12 C++

Using Protothreads for Synchronous Programming in C

7 mentions on Hacker News by 1 person: 0 stories, 7 comments · first 2022-08-03 · latest 2026-01-09

Mentions per year 7 mentions · busiest year 2022 (2)
20082026
  1. …- but you can get quite far with them. I used them to implement an Esterel/Blech like environment: https://github.com/frameworklabs/proto_activities
  2. A similar approach, but rooted in the idea of synchronous languages like Esterel or Blech: https://github.com/frameworklabs/proto_activities
    comment by syncurrent · 2025-07-13 · in Hacking Coroutines into C
  3. Proto-Activities have this context to store the state in the caller. https://github.com/frameworklabs/proto_activities
    comment by syncurrent · 2024-02-25 · in Coroutines in C (2000)
  4. …I tried to create DSLs for C and Swift so that more people could potentially play around with that. https://github.com/frameworklabs/proto_activities
    comment by syncurrent · 2023-06-23 · in Coroutines make robot code easy
  5. …system. Protothreads can also be used to implement synchronous programming models - like this one: https://github.com/frameworklabs/proto_activities
  6. I created two „offsprings“ of Blech: 1. A C based lib using protothreads: https://github.com/frameworklabs/proto_activities 2. A Swift DSL: https://github.com/frameworklabs/Pappe I think the synchronous approach is really profound and hope…
  7. …a good choice IMHO to handle multiple concurrent activities in a simple way on an embedded system. https://github.com/frameworklabs/proto_activities
    comment by syncurrent · 2022-08-03 · in Introducing multitasking to Arduino