at its core Matrix can be thought of as an eventually consistent global JSON database with an HTTP API and pubsub semantics - whilst XMPP can be thought of as a message passing protocol.not that XMPP isn't cursed, but I do think the idea of an eventually consistent global JSON database is very cursed