dnc-serial-engine
daily useStreams G-code to CNC controllers without dropping a character — and without being slow.
Why this is hard
A controller from the 1980s has a few kilobytes of buffer and no way to say how full
it is. You get one warning — XOFF — and it arrives late.
Too fast and the machine silently drops characters while cutting steel. Too slow and a
40-minute job becomes four hours. The engine treats this as a control loop:
it speeds up while the machine drains and backs off the instant XOFF arrives.
The engineering log records the debugging done on live machines — including the fix that created the next problem.
There is nothing Windows-specific inside the engine: the same tree compiles and passes its tests on Linux, Windows and macOS on every commit.