7 ms·
TL;DR Write it in Rust, export via FFI, bind from Python via cffi. The long version is: go watch this video from PyCon that will answer this question and proba
by gthank 11y ago
TL;DR Write it in Rust, export via FFI, bind from Python via cffi.
The long version is: go watch this video from PyCon that will answer this question and probably others https://www.youtube.com/watch?v=3CwJ0MH-4MA https://www.youtube.com/watch?v=3CwJ0MH-4MA
- steveklabnik 11y agoThat video and a similar talk I've given at Ruby conferences inspired me to make a chapter for the book: http://doc.rust-lang.org/stable/book/rust-inside-other-languages.html http://doc.rust-lang.org/stable/book/rust-inside-other-langu...