Re:XML Can Give the Same Performance as JSON
by DamnYuppie on Thursday August 15, 2013 @10:06AM
(#6217804)
One thing I haven't seen mentioned in this is the size difference between XML and JSON. At the end of the day that is the main reason I prefer JSON, it is much more compact when storing it and sending it across the wire. Anyone who has ever worked in a system where the canonical data representation was XML will know the horror of seeing a nice 500k file balloon to over 10 MEG just because it is now in XML...
[ Parent
| on HN ]
Re:XML Can Give the Same Performance as JSON
by ygra on Thursday August 15, 2013 @12:05PM
(#6218689)
Back in uni there was a contest for an efficient XML parser from some company elsewhere in Europe. The problem was efficient parsing of XML files around 10 GiB and more – apparently the European standard data format for bank transactions (or the log of them, I don't remember precisely) is XML and for the Central Bank such large files were not uncommon.
Makes me really wonder why they went with that format.
Re:XML Can Give the Same Performance as JSON
by steveklabnik on Thursday August 15, 2013 @10:21AM
(#6217896)
The repition that programmers hate XML for is ideal under many compression algorithms, including gzip.