I doubt people will convert your code to C+/Rust for free, so i suggest you check these options,
1. Use PyPy (
https://www.pypy.org) which improve your code performance without change single line of your code.
2. Use another compiler such as Numba (
https://numba.pydata.org/). I never tried Numba though since you need to modify your code and read the documentation.