| 23 Oct 2025 |
fzakaria | i don't see it in the current API but the generator has a few flags.
They call the API 'stream' lol
https://doc.kaitai.io/stream_api.html | 15:53:25 |
fzakaria | maybe it is streaming and on-demand serialization | 15:53:41 |
fzakaria | i will test it on the Linux demo. | 15:53:46 |
fzakaria | * i will test it on the Linux git repo demo. | 15:53:52 |
Robert Hensing (roberth) | ah, that's their low level I/O thing that is consumed by the generated code, I think? | 15:55:18 |
Robert Hensing (roberth) | pull and visitor may be good names for modules that do that kind of thing | 15:56:16 |
fzakaria | I used this cpp library which was nice.
https://github.com/NixOS/nixpkgs/pull/454770
I sponsor @jart on Github. | 16:01:30 |
Robert Hensing (roberth) | fast? nice | 16:03:41 |
fzakaria | also small so i can audit it
nlohmann's json.h has 24,766 lines of code. Our json.h has 233 lines of code, and our json.cpp file has 1,303 lines.
| 16:04:32 |
fzakaria | oh there is an "no-auto-read" option | 16:27:41 |