Text-based IPC for Userspace Implementations

Jonathan Rudenberg jonathan at titanous.com
Tue May 16 18:01:17 CEST 2017


> On May 16, 2017, at 09:12, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
> 
> So why not avoid any possible confusion and just emit JSON? Or another
> well-established serialisation format where the nesting can be made
> explicit... :)

+1 to this, requiring implementors to also implement a custom serialization format will lead to avoidable bugs.

I took a quick look and there is a bit of precedent for the use of JSON in the kernel tree: https://github.com/torvalds/linux/tree/3401e8d1e1300742ed41910b9338b9da52689a16/tools/perf/pmu-events

Jonathan



More information about the WireGuard mailing list