Comment by hackerboos
11 years ago
>And that would improve the XMPP adoption and experience by ... ?
Saving battery on mobile devices for one.
11 years ago
>And that would improve the XMPP adoption and experience by ... ?
Saving battery on mobile devices for one.
Wait, wait. We're talking underlying data format here.
Are you saying that serializing something to JSON (or whatever you fancy here) vs. to XML .. saves battery?
I mean, XMPP is certainly not the battery friendliest tech right now (elsewhere people discuss push extensions for example), but .. that's not related to the use of XML.
I'm saying pushing a verbose format like XML over mobile radio signals consumes more battery.
Having to support a panoply of marshaling standards would suck battery more, not less. I doubt XML vs. JSON vs. YAML per se makes any substantial difference in CPU usage. You might get a little mileage in going to a compact binary format and reducing data transmission, but is that worth it?
CPU cycles are cheap compared to bandwidth on mobile.