Top 22 Rust FFI Projects
Rust bindings for writing safe and fast native Node.js modules.Project mention: How I significantly improved Giganotes app performance using Rust | reddit.com/r/rust | 2021-03-09
After researching a lot of options how to get the optimal performance combined to maximum code re-usability and cross-platform compilation. I found Rust as the best option to implement application's core. Except for the perfect package management tool, Rust has all the necessary bindings - Neon for Electron, Rust code easily compiles for Android. So it was relatively easy to implement the communication layer between Rust native code and those platforms like Node.Js (Electron) and Android.
Rust bindings for the Python interpreter (by PyO3)Project mention: HPy: a better C API for Python? [LWN.net] | reddit.com/r/Python | 2021-04-02
I think I'll learn PyO3 instead.
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Safe Rust bridge for creating Erlang NIF functionsProject mention: New book! Refactoring to Rust | reddit.com/r/rust | 2021-01-07
Any mention of Elixir? https://github.com/rusterlium/rustler
Rust <-> Python bindingsProject mention: How we built our Python Client that's mostly Rust | reddit.com/r/rust | 2021-03-31
Author here. Yup! The Flapigen macros generate a ton of rust-cpython calls. I'll eventually get around to updating the flapigen book to include the parts I had to learn for this post.
Rust bindings to Windows APIProject mention: Official WinRT+Win32 Crate for Rust | news.ycombinator.com | 2021-03-05
A project for generating C bindings from Rust codeProject mention: Hey Rustaceans Got An Easy Question Ask Here | reddit.com/r/rust | 2020-12-28
cbindgen can't support most arbitrary structs; they need to be marked #[repr(C)] which includes their fields: https://github.com/eqrion/cbindgen/blob/master/docs.md#supported-types
Embed C++ directly inside your rust code!Project mention: CXX - Safe interop between Rust and C++ | news.ycombinator.com | 2021-03-24
Another create which i've been contributing to and maintaining is the cpp crate, which can also be useful for interoperability with C++, as it allows to embed C++ code snippets directly within rust functions:
Rust bindings to the Java Native Interface — JNIProject mention: Project Ideas | reddit.com/r/rust | 2021-02-05
Even so, staying relatively close to the Java focus of the class might be a good idea, since it will help prepare you for the AP exam. One idea would be using jni-rs to build Java bindings for a useful Rust library. Interesting candidates might be io-uring, lockfree, or even pyo3, if you wanted to try your hand at integrating Java and Python.
Objective-C Runtime bindings and wrapper for Rust.
Bridge the gap between Haskell and Rust
Java for Rust
mruby safe bindings for Rust
A Rust crate for automatically generating C header files from Rust source file.
Safe Rust bindings to Lua 5.1
Rust + Python = ????
Rusty bindings for Apple libraries
I recently found https://github.com/nvzqz/fruity looks interesting but also not production ready
Run Java code from Rust!
Flutter full-text search plugin build on Tantivy supports async。 基于 Tantivy 实现的 Flutter 本地全文搜索插件(支持 async)Project mention: A Flutter full text search engine plugin build on Rust | reddit.com/r/FlutterDev | 2021-02-04
Unix APIProject mention: uapi: A pragmatic libc wrapper | reddit.com/r/rust | 2021-01-07
THIS CRATE IS DEPRECATED, please use https://github.com/servo/rust-bindgen. (by Yamakaky)
What are some of the best open-source FFI projects in Rust? This list will help you: