In my limited experience of HFT, the galaxy brain mathematicians write terrible code. And there isn't much time for heavy anything at HFT speeds. So there's a lot of clever software and hardware engineering that is implementing what are often quite simple strategies. Those simple strategies are backed up by lots of clever analysis of course.