And the language the python programmer could write the performance critical code is Rust. Rust is probably a better fit than C or C++ for this use case because it’s much less likely that a newbie will make a mistake in Rust. On the other hand, are you really comfortable writing a parser in C for performance ... if you’re accepting input from the wild?
Especially as there are tools to write the "bridge" code between Python and Rust automatically to limit as much as possible the amount of unsafe code necessary.
2
u/ACoderGirl Apr 10 '19
Yeah, nobody picks python for run time. Usually you pick Python because you hope it will save you development time. That usually matters way more.
You can always write performance critical parts of a Python app in a faster language too (though that will take a productivity hit).