Use higher level language than C
Use higher level language than C
There exist high level language, which is translatable to C like Vala or nim. Some have good C integration, so bindings for C libraries will be generated from C header. Vala and Nim are quite speed. Programs written in Vala or Nim have range market, because they are translated to C. Maybe you could drop śome hacks like specvec?