Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bentheelder/rust-python-demo

simple demo of using rust from python
https://github.com/bentheelder/rust-python-demo

Last synced: 28 days ago
JSON representation

simple demo of using rust from python

Awesome Lists containing this project

README

        

python-rust-demo
=====================
Simple demo of using rust from python via python ctypes and rust libc.

Tested on OSX 10.10.1 with rustc 0.13.0-nightly (cc19e3380 2014-12-20 20:00:36 +0000) and cargo 0.0.1-pre-nightly (10efa79 2014-12-21 07:28:44 +0000) with Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)

Instructions:

```
1) Clone
2) CD to the repository root.
3) Run `cargo build`
4) Run `python demo.py`
```