• 0 Posts
  • 158 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle

  • aport@programming.devtoLinux@lemmy.mlWhat is the point of dbus?
    link
    fedilink
    arrow-up
    111
    arrow-down
    4
    ·
    11 months ago

    “Bro just use sockets lol” completely misses the point. When you decide you want message based IPC, you need to then design and implement:

    • Message formatting
    • Service addressing
    • Data marshalling
    • Subscriptions and publishing
    • Method calling, marshalling of arguments and responses
    • Broadcast and 1:1 messaging

    And before you know it you’ve reimplemented dbus, but your solution is undocumented, full of bugs, has no library, no introspection, no debugging tools, can only be used from one language, and in general is most likely pure and complete garbage.