Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2020 (2)
20082026
  1. …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
  2. …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…
  3. …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
  4. …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)