- resilience against servers going down
- resilience against malicious federation
- Json instead of XML
- unified specification
- handling of E2EE with multiple devices and message history
- not need to rely on other servers for media access
Probably more, this was just off the top of my head
I like Matrix. But I don’t think it’s the only or best solution despite all of the current hype; the XMPP solution should be looked at more often. XMPP offers additional flexibility as well not being limited to just a chat/communications platform where folks use it for presence, UnifiedPush, etc.
Most federated system have one large server that has many users.
What bothers me the most about xmpp is that only the barebones stuff is in the main spec and everything else is in extensions which creates a complex maze of support by servers and clients alike.
I've used both but I like matrix the most. Its bridges also seem the most mature.
It was simple: UI/UX experience:
* each server supported different set of features * each client supported different set of features * some of them (like gateways to other chats) were "generic" enough that power users were needed to set them up, even if they worked extremely well * Most chats were "text-mostly" with shitty html subset, which was just worse for power and normal users alone compared to now-near-standard "markdown + reactions"
Will you get your chat history on given combination of client and server ? Who the fuck knows
Will you have direct data transfer work ? Who the fuck knows
Can you share file to a group chat ? Who the fuck knows
"Oh look markdown is popular, lets IMPLEMENT SOMETHING ELSE THAT'S SIMILAR BUT INCOMPATIBLE" https://xmpp.org/extensions/xep-0393.html and other great XEPs... I swear whoever is running that is smoking crack
And the XEPs. Millions of them. There is no version of protocol to target by client or server, there is not even "level of features" (lets say "text only", "text + voice", "text + video conferencing"), no, pick and choose, and on both server and client site.
XMPP is absolute mess and mountain of design by committee
482 of them. A XEP is how someone proposes a feature, and how the community collaborates around the protocol's development. Many XEPs never gain enough traction to be marked as "stable", and they get automatically deferred after a year.
This means out of the 482 XEPs, a much smaller number are actually required to implement working stuff in XMPP.
Hopefully this solves the common misconception, which you seem to have, that you have to implement every XEP. Some aren't even dealing with protocol changes, some are only informational, and some only pertain to client or server features.
> There is no version of protocol to target by client or server, there is not even "level of features" (lets say "text only", "text + voice", "text + video conferencing"), no, pick and choose, and on both server and client site.
False. We publish annual "compliance suites" which contains an array of features and two compliance levels for each ("core" and "advanced").
You can browse XMPP software by compliance levels here: https://xmpp.org/software/
You can find the 2022 compliance suite here: https://xmpp.org/extensions/xep-0459.html and the 2023 edition is due to be finalized soon.
> XMPP is absolute mess and mountain of design by committee
This is your subjective opinion. You're welcome to it, of course. But accept that I (and many others) do not necessarily share this opinion.
Yes, there is. But your entire comment is based on years-old view of what XMPP was
> resilience against servers going down
The matrix model and the XMPP model are different. They solve orthogonal problems. Even the matrix people say it. That's like saying emails are better than github for collaboration because they are resilient against servers going down: it's true, but it's a different model. Not suitable for everyone.
> resilience against malicious federation
Wait for matrix to be taken up by big tech companies, you'll see spam flooding. I don't welcome it, but it's all about economics
> Json instead of XML
This is both subjective and shows the lack of understanding that extensibility is, and how json only does 1/10 of what proper XML can do.
> unified specification
Not all XMPP usages are the same. If you want messaging, you use the compliance suites, which are specs: https://xmpp.org/extensions/inbox/cs-2022.html#im
> handling of E2EE with multiple devices and message history
Has been working for years already: https://xmpp.org/extensions/xep-0384.html
> not need to rely on other servers for media access
Part of the standard installation of prosody and ejabberd, arguably two of the most known servers, for years. A few lines in the conf.
Matrix solves problems and creates others. Your information is outdated by almost a decade, which probably explains why you think matrix solves these.
Can you elaborate on this a bit more? Specifically what can XML do that JSON can't?
I know the feature set is technically larger (eg namespaces, schemas, etc), but AFAIK all those features aren't necessary for transporting messages.
I even consider some things in XML (or at least in common implementations) to be nuisances, like collapsing elements into properties, or some accepting either or both without a schema, and I'm never sure what the precedence rules are. Also, due to being a simpler spec, JSON is more widely available, and generally faster to parse too.