Skip to content

A test to get C++ to Rust to Python

Notifications You must be signed in to change notification settings

dtolnay-contrib/cpptorusttopython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a test of going from C++ to Rust to Python

To run

Dependencies

  • Rust
  • Python 2.7 sudo apt install python2-dev

Build/Run

clear && cargo build --release && PYTHONPATH=$PYTHONPATH:$(pwd)/target/release python -c 'import cpptorusttopython; a = cpptorusttopython.Something(); print(a.get_value()); a.set_value(10); print(a.get_value())'

About

A test to get C++ to Rust to Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 70.1%
  • C++ 29.9%