What's coming in glibc 2.10: XML
What's coming in glibc 2.10: XML
Posted Apr 19, 2009 16:19 UTC (Sun) by bvdm (guest, #42755)In reply to: What's coming in glibc 2.10: XML by jkohen
Parent article: What's coming in glibc 2.10
Besides, if you want to export information in a standard and extensible manner, XML is pretty much the way to go. Now Protocol Buffers, that would be over-engineering!
Posted Apr 19, 2009 21:51 UTC (Sun)
by elanthis (guest, #6227)
[Link] (2 responses)
Posted Apr 20, 2009 10:43 UTC (Mon)
by alankila (guest, #47141)
[Link] (1 responses)
I think it's quite safe to assume that Ulrich means "text with angle brackets" rather than the entirety of XML specification. In other words, even a crude parser is likely to work...
Posted Apr 20, 2009 15:07 UTC (Mon)
by drag (guest, #31333)
[Link]
I don't know why people are getting excited about this. Mallocinfo seems to me to be a very poorly designed part of the POSIX spec and, like the blog entry said, is dependent on the specifics of a particular malloc implimentation.
The particular Mallocinfo in the spec is so widly useless for any sort of modern system that there is just no 'right' way to do it.
So since it's returning statistica data that are dependent on a particular internal inplimentation then the sort of statistics that are relevent to anybody are going to change based on the changes of Malloc.
So instead of requiring application designers to use some sort of custom parser or try to read data whose relevence and meaning, at any point in the future, can and will change he has decided to go with a very commonly used, standard, self-describing format... which is XML.
Makes sense to me.
Posted Apr 20, 2009 0:27 UTC (Mon)
by xoddam (guest, #2322)
[Link] (1 responses)
Posted Apr 20, 2009 19:41 UTC (Mon)
by jkohen (subscriber, #47486)
[Link]
If you want structured data ready for human consumption, you probably need to write a user-space tool, in which case using XML is no better than protocol buffers, JSON and so on; it just has a more complicated spec.
What's coming in glibc 2.10: XML
What's coming in glibc 2.10: XML
What's coming in glibc 2.10: XML
Who is going to read this information anyway?
Who is going to read this information anyway?