I don’t know about air travel. For comparison, Li batteries are about 200-300 Wh/kg, with solid state reading 3-4x that.
Jetfuel is 11000 Wh/kg. Hydrogen is 39000 Wh/kg.
By volume they might have an advantage but planes tend to care more about weight
They do do it in C. The packages are written in C, python is just used as the wrapper to allow less coding skilled data scientists to easily use it.
That’s like the entire data science joke. It’s C in a python trench coat.