They've somehow managed to make the two least optimal choices of language possible.
The full node daemon, hsd, is written in Javascript.
A non type safe language with poor package management for consensus critical code. We also have a light client, hnsd, which is written in C
A non memory safe and error prone language for client code people would run on their systems as root.