it is indeed written in C.

good thing I happened to have already implemented a rudimentary memory allocator which I never ended up actually using.