I’m looking into hosting one of these for the first time. From my limited research, XMPP seems to win in every way, which makes me think I must be missing something. Matrix is almost always mentioned as the de-facto standard, but I rarely saw arguments why it is better than XMPP?

Xmpp seems way easier to host, requiring less resources, has many more options for clients, and is simpler and thus easier to manage and reason about when something goes wrong.

So what’s the deal?

  • BrikoX@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 months ago

    Why is JSON better than XML? It’s more modern, sure, but from technical perspective it is not objectively better right? Not something worth switching protocols for.

    XML is unnecessarily complicated. By trying to cram everything into the spec, it’s cumbersome and hard to parse.

    You mention XMPP has transports as opposed to Matrix bridges. I thought they give you roughly the same outcome. What’s the difference?

    The goal is the same, but the way they archive that is different. For transport to work, you need an account on each platform you are using the transport on. It relays the messages through that account by mimicking the client. While bridges work by relaying the messages between rooms and not specific users.

    My understanding is limited, so if you are interested, please do your own research.

    • Cyclohexane@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      5 months ago

      cumbersome to parse

      Parsers have already existed for so long in every major language. Why need to worry about parsing?

      And why need to worry about transports working differently if they achieve the same thing? They seem similarly convenient if I understood what you said correctly

      • oldfart@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        Additionally, libraries for XMPP exist in most languages, there is a varying degree of completeness, but they all do a good job of hiding XML from the programmer