As per the the README at https://github.com/janestreet/bin_prot cyclical data structures cause non-termination. Where non-termination may even mean segfault due to stack overflow.
Is hand-writing the converters to work around this limitation an exercise in suffering, or do people do it? Or both?
EDIT: to be clear, I’m wondering if there are projects that have hand-written bin_prot writers (and readers). Would be nice to have something to slide into all of the places that normally expect/produce bin_prots.