Speed up your Python using Rust
&gt; Rust is a language that, because it has no runtime, can be used to integrate with any runtime; you can write a native extension in Rust that is called by a program node.js, or by a python program, or by a program in ruby, lua etc. and, however, you can script a program in Rust using these languages. — “Elias Gabriel Amaral da Silva”<p>Can someone explain why is &quot;having a runtime&quot; problematic for writing extensions and calling them from Python ? From what I gather Go does have a runtime, so implicitly it should be suboptimal for calling from Python. Yet since 2015 (Go 1.5) can be called directly from Python. I&#x27;m a Python programmer looking to expand my tool belt. I&#x27;m wondering of relative pros and cons of Rust and Go. I have only written small toy programs in C and other compiled languages.<p>Is Go better suited to completely rewriting software rather than using it for extensions ? Why ?<p>I would appreciate a benchmark with a Go extension, too.