Nothing surprising here, it is old project, and one very performance-conscious.
Written in C and probably one of the most rock-solid pieces of user level software anyone could imagine. I doubt, connection-per-connection, any other piece of software is more battle hardened than HAProxy.
The vast majority of the software running on your machine is still written in C.