I've been trying every x months to speed up #python with native code. This weekend with half-assed effort I got a rust + python thing going.

The magic: #maturin + #pyo3

- c, go, c++, #cython - failed because the difficult level of dealing with the build scripts. And c, c++ are just nasty.
- #mypyc - Almost worked, but failed, the annotations have to be a perfect subset of what mypyc can handle.

Mypyc and cython need something like maturin if they want get widespread adoption.

@mistersql have you tried numba? it's straightforward and compiles python funcions (also JIT) into C. For me it worked like magic!
https://numba.readthedocs.io/en/stable/
Numba documentation — Numba 0+untagged.4124.gd4460fe.dirty documentation

@lpryszcz No, but I'll look at it. I'm uniformed 1st impression it it was for speeding up numeric things, I mostly do ETL stuff at work, so lots of string/byte manipulation
@mistersql indeed, I use it mostly for numeric operations. I have no experience with numba and strings