News for hackers. Stuff that matters.
Re:Varlink – IPC to replace D-Bus gradually in systemd by thayne on Monday September 30, 2024 @11:26AM (#41698281)
What if varlink supported both JSON and a subset of cbor with the "cbor data follows" tag at the beginning (so the server can determine if it is json or cbor based on the beginning of the message)?

It would add a little complexity to the server, but then clients can choose if they want to use a human readable format that has more available libraries or a binary format.

As for strace, tooling could probably be added to automatically decode cbor to json, either as part of strace, or in a wrapper.

There could also be a varlink proxy (similar to varlink bridge) that could log or otherwise capture requests in a human readable format.

Re:Varlink – IPC to replace D-Bus gradually in systemd by eternityforest on Monday September 30, 2024 @11:31PM (#41704399)
But why though? Is this really a performance critical bus?
Re:Varlink – IPC to replace D-Bus gradually in systemd by musicnarcoman on Tuesday October 01, 2024 @02:20AM (#41705150)
Yes. I run shared desktop login server clusters for students, DBUS is a bottle neck.