First you need something like a simple Pascal. Otherwise you've got C that crashes all the time or you're stuck with some environment too opinionated about GC/references and a way of least resistance to put everything into its specific weird structures.