Hacking Coroutines into C
Hacking Coroutines into C 12.7.2025 A while ago, I was part of a team developing embedded software. The software was deeply rooted in state machines - dozens of them—spread across multiple functions. While this architecture is common in embedded development, especially for systems without an operating system, I started to question: Is this really the clearest way to express control flow? The state machines in our code worked fine, but understanding and maintaining them was often a headache. T