You could have stayed in Python and used PyOpenCL or Numba or weave inline or f2py or...
What is the real reason to use C here?
What is the real reason to use C here?
The real reason is that it was just an idea that we came up with and decided to try it. It worked well, so we stuck with it. :)