Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Hangouts supports way more functionality than XMPP calls for.

While federating with XMPP they can expose only a subset.

> I think a better plea would be for Google to release Hangouts as a protocol.

I'm only for it. Which doesn't preclude the option above. Additionally, Google can extend XMPP if it lacks what they need.



I would love to see classic Google Talk return, with status settings/messages, the ability to see if contacts are online, etc., however I'm not so sure extending XMPP is the way to go.

It's my understanding that XMPP is an exceptionally verbose protocol, built on XML. It's great for interoperability, but there are better formats available now, including JSON and msgpack, which would be much more ideal for mobile IM.


I wonder how hard it would be to rework XMPP into a JSON encoding? Offhand, it seems like the fundamental vocabulary could remain the same, with just the syntactical details changing over from XML to JSON.

Edit: Interestingly enough, there is a (apparently satirical) XEP for this:

http://xmpp.org/extensions/xep-0295.html


How are you going to translate XML namespaces which are heavily used in XMPP into JSON? The satirical example shows that it's not going to look good ;)


XML can be compressed: http://xmpp.org/extensions/xep-0138.html

JSON isn't less verbose by the way. It also lacks namespaces, so I doubt it can help for a complex and extensible protocol.


True, there are loads of libraries to support XMPP on various platforms though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: