Blog Post: Extending Python with Rust This repository contains the code supporting the blog post. Read this blog post for more details. Install Python pip install pytest-benchmark Compile Rust cargo build --release compiles to libmyrustlib.so. Nim nim c -d:release pyext-mynimlib/src/libmynimlib.nim compiles to libmynimlib.so. Test Nim nim c -r -d:release pyext-mynimlib/tests/test1.nim. Nim Performance Test nim c -r -d:release pyext-mynimlib/benchmarks/benchmark.nim.