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

This reminds me of a blog post from one of the Unity developers:

We joke that doing anything in C# will result in an XML parser being included somewhere. This is not that far from the truth; e.g. calling float.ToString() will pull in whole internationalization system, which probably somewhere needs to read some global XML configuration file to figure out whether daylight savings time is active when Eastern European Brazilian Chinese calendar is used.

http://aras-p.info/blog/2009/11/14/improving-cmono-for-games...

The sad thing is that he's not kidding - if you profile a typical application under Mono or .NET, it loads an XML parser almost immediately.



.NET policy configuration files are in XML. To parse them there is another internal XML parser in mscorlib (.NET runtime dll).


I heard a joke once that anytime you run Javascript in a browser an XML parser is being included somewhere.




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

Search: