https://github.com/tiagocoutinho/tc-rusty
Python adventures in the Rust world
https://github.com/tiagocoutinho/tc-rusty
Last synced: 21 days ago
JSON representation
Python adventures in the Rust world
- Host: GitHub
- URL: https://github.com/tiagocoutinho/tc-rusty
- Owner: tiagocoutinho
- License: mit
- Created: 2016-05-29T19:30:35.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-25T17:09:14.000Z (over 7 years ago)
- Last Synced: 2025-02-13T16:54:02.395Z (2 months ago)
- Language: Python
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](doc/conda_list.txt)
* 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](http://http://numba.pydata.org)
* C with binding to python using [CFFI](http://cffi.rtfd.io)
* [Rust](http://www.rust-lang.org) with binding to python using [CFFI](http://cffi.rtfd.io)
* [Pythran](http://pythran.rtfd.io)## Count doubles
*given a buffer of ASCII chars, count the number of times two adjacent
characters are equal*
## isum2d
**sum of all items in a numpy 2D array of int64**

## Mandelbrot
*create a mandelbrot set*
### 5 iterations
### 20 iterations
