Skip to content

Latest commit

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

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

  • Rustcargo build --release compiles to libmyrustlib.so.
  • Nimnim c -d:release pyext-mynimlib/src/libmynimlib.nim compiles to libmynimlib.so.

Test

  • Nimnim c -r -d:release pyext-mynimlib/tests/test1.nim.
  • Nim Performance Test nim c -r -d:release pyext-mynimlib/benchmarks/benchmark.nim.

About

Extending Python with Rust

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages