IETF should keep XMPP as IM standard, instead of Matrix
The whole &quot;why didn&#x27;t Matrix just build on XMPP?&quot; thing is incredibly tedious - you&#x27;d hope people would have got over it by now.<p>It&#x27;s like saying &quot;Why have Canvas, when we already have SVG?&quot;.  Or &quot;Why have NNTP, when we already have mailing lists&quot;?  Or &quot;Why have Git when we have Subversion&quot;?  Or &quot;Why have Linux when we already have BSD&quot;?<p>The projects are <i>diametrically opposite</i> in their most fundamental ways - with the sole exception that they can both be used for instant messaging.  Just like SVG and Canvas both render graphics, and NNTP &amp; SMTP can both be used for discussion forums, and Git &amp; SVN both manage source code.  They have completely different tradeoffs; one is not necessarily better or worse than the other; they are just utterly different approaches and can and should coexist based on folks&#x27; preferences and requirements.<p>* Matrix is a decentralised conversation history replication protocol, <i>not</i> a messaging protocol.  Architecturally it has no concept of direct messages or store-and-forward messaging for IM; instead everything is a group conversation with a conversation history getting replicated between servers (and their clients).  Conversely, XMPP is a message passing system (although it&#x27;s true you could layer a DAG-based conversation database on top in a XEP, at the expense of compatibility with the rest of XMPP).  It&#x27;s literally the difference between NNTP (Matrix) and SMTP+IMAP (XMPP).<p>* Matrix is a single monolithic spec, defining precisely what features exist for a given stable release. New features are proposed as PRs to the spec (MSCs), often with competing options, but only one gets ratified and merged.  Conversely,  XMPP is a cloud of XEPs, with compatibility XEPs published occasionally.<p>There are obviously other differences (e.g. Matrix mandating E2EE for private conversations (<a href="https:&#x2F;&#x2F;matrix.org&#x2F;blog&#x2F;2020&#x2F;05&#x2F;06&#x2F;cross-signing-and-end-to-end-encryption-by-default-is-here" rel="nofollow">https:&#x2F;&#x2F;matrix.org&#x2F;blog&#x2F;2020&#x2F;05&#x2F;06&#x2F;cross-signing-and-end-to-...</a>), XML v. JSON etc) but the two points above are the fundamental differences which mean that you wouldn&#x27;t be able to build Matrix on XMPP short of effectively creating a new protocol - at which point you&#x27;ve effectively built Matrix anyway.<p>This said, there are also some similarities which often get misrepresented or misunderstood:<p>* Both protocols are extensible.  In Matrix, you can send any data you like (just define a namespace and off you go), and extend existing data with anything you like.  You can also go wild and define your own APIs, and room versions (i.e. dialects of the protocol) under your own namespace.  Matrix provides mechanisms for backwards compatibility &amp; fallback for clients (and servers, in future) which don&#x27;t speak your dialect.  <i>However</i>, it&#x27;s abundantly clear that when doing so you are going off piste (although you&#x27;re welcome to propose your extensions as a change to the main spec).<p>* Both protocols are open standards, maintained by non-profit foundations (<a href="https:&#x2F;&#x2F;matrix.org&#x2F;foundation" rel="nofollow">https:&#x2F;&#x2F;matrix.org&#x2F;foundation</a> and <a href="https:&#x2F;&#x2F;xmpp.org&#x2F;about&#x2F;xmpp-standards-foundation&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xmpp.org&#x2F;about&#x2F;xmpp-standards-foundation&#x2F;</a>).  Both started off being built by commercial teams (New Vector Ltd and Jabber Inc respectively) before progressively shifting to an open governance model.<p>Finally, the weirdest thing about this random IETF mailing list post popping up from April 2021 is that I believe the IETF chose to go with Zulip in the end: their tools team was freaked out that Matrix was openly federating and replicating history from non-IETF servers onto their instance (plus Synapse&#x27;s admin UI is lacking).  On the Matrix side, our solution to this will obviously be to work with the Zulip folks to get Zulip talking Matrix :)<p>(Disclaimer: i work on Matrix).