Skip to content

tiagocoutinho/tc-rusty

Repository files navigation

tc-rusty

Tiago Coutinho's python adventures in the Rust world

Benchmarks

Hardware

DELL laptop Latitude E7440 (Intel i7 vPro 4 Core 3.3GHz; 8Gb RAM)

Software

  • Linux Mint 18 Sarah 64 bits
  • Inside a conda environment: conda packages
  • CPython 2.7.14 |Anaconda, Inc.
  • GCC 5.4.0
  • LLVM 3.8.0
  • Rust 1.21.0 stable

Comparation

  • Python - pure python implementation
  • Numba
  • C with binding to python using CFFI
  • Rust with binding to python using CFFI
  • Pythran

Count doubles

given a buffer of ASCII chars, count the number of times two adjacent characters are equal

count doubles bech results

isum2d

sum of all items in a numpy 2D array of int64

sum 2D items

Mandelbrot

create a mandelbrot set

5 iterations

mandelbrot

20 iterations

mandelbrot

About

Python adventures in the Rust world

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published