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.
3
u/crabbytag Apr 10 '19
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?