News for hackers. Stuff that matters.
Re:Systemd, 10 years later (2020) by Arch-TK on Sunday January 09, 2022 @04:18AM (#29861727)
I've tried writing higher level bindings on top of libdbus. Once I realised that libdbus was not designed for writing reliable or sane software (there's an error? there's an error! what is it? who knows) I decided to try writing my own implementation of the dbus protocol (the intention was to write C code generators for automating away writing a lot of the boilerplate). Once I had read the specification once I gave up. dbus is the most hideous protocol and most hideous library, its ONLY advantage is its ubiquity.
Re:Systemd, 10 years later (2020) by awrmc on Sunday January 09, 2022 @01:47PM (#29866141)
I disagree with this, in my experience D-Bus is very similar to other IDLs like DCOM, protobuf or ASN.1. If you're familiar with those, D-Bus should actually be easy in comparison.
Re:Systemd, 10 years later (2020) by junon on Sunday January 09, 2022 @04:24AM (#29861765)
Yep. Sounds like we went down pretty much exactly the same path. I came to the same conclusion after attempting the same thing.