The best binding generators, according to hackers
3 binding generators recommended in Hacker News comments over the past year, ranked by how many separate people recommend each one.
All binding generators
- PyO3People recommend PyO3 for writing Python extensions in Rust, citing safe wrappers, easy use and a large ecosystem. Critics say it adds bloat and is far from perfect.16recommend
- UniFFIDevelopers use it to share Rust code with iOS and Android apps through generated language bindings, and say it works well once set up.9recommend
- flutter_rust_bridgeGenerates the glue code that lets Flutter apps call Rust, so you write normal Rust and skip hand-written bindings. People report good results in real apps such as RustDesk.6recommend