* * * * *

               And I thought I was crazy for sticking with C …

Wow.

An XML (eXtensible Markup Language) parser written in x86 assembly language
for Unix and Windows [1]. This sounds like something I would have done about
fifteen years ago when I programmed almost exclusively in assembly.

The code makes some interesting design choices (I mean, besides the obvious
choice of langauge)—it only parses XML in memory and as a result of that, the
entire document must first be in memory. It also allocates memory in large
blocks (the size in some of the examples is 16M (Megabytes)) to avoid the
overhead of calling malloc().

It also doesn't support XML namespaces (nor does the author want to support
XML namespaces, as namespaces “make parsing more complicated and slower”).

But still … wow.

[1] http://mkerbiquet.free.fr/asm-xml/index.html

Email author at [email protected]