libguestfs/libnbd
View on GitHub ↗ ★ 39 C
THIS REPO IS UNMAINTAINED. Go to --> https://gitlab.com/nbdkit/libnbd
4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2019-07-09 · latest 2021-01-19
20082026
-
…complexity. We did that with our NBD client, which has 96 states in 17 groups, generating C code: https://github.com/libguestfs/libnbd/tree/master/generator
comment by rwmj · 2021-01-19 · in The State of State Machines -
…and thus something you can follow by reading or in a debugger. Example of this approach here: https://github.com/libguestfs/libnbd/tree/master/generator (Unfortunately for my example, the generated code is not stored in git, but I've put a…
comment by rwmj · 2020-11-10 · in C source-to-source compiler enhancement from within -
…idea of statecharts, we generate a C library that implements a particular complex network protocol: https://github.com/libguestfs/libnbd/tree/master/generator All the files called state* are involved, but the hierarchical state machine is…
comment by rwmj · 2020-04-01 · in State Machines in Rust -
…speeds development and eases maintenance. Here are links to the generators for those projects: https://github.com/libguestfs/libnbd/blob/master/generator/g... - This is a small C library. It uses a small-ish generator to generate a state…
comment by rwmj · 2019-07-09 · in The Art of Metaprogramming (2005)