Rust FFI

Open-source Rust projects categorized as FFI | Edit details

Top 23 Rust FFI Projects

  • GitHub repo neon

    Rust bindings for writing safe and fast native Node.js modules.

    Project mention: Porting http server to Nodejs | reddit.com/r/rust | 2021-10-30

    Let's assume i have developed a web server by using warp in rust than i ported it to nodejs via neon.

  • GitHub repo PyO3

    Rust bindings for the Python interpreter

    Project mention: CPython | reddit.com/r/ProgrammerHumor | 2021-11-28

    Relevant: https://github.com/PyO3/PyO3

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo Rustler

    Safe Rust bridge for creating Erlang NIF functions

    Project mention: Why asynchronous Rust doesn't work | news.ycombinator.com | 2021-11-13

    Rust + Erlang/Elixir is a fantastic combo. Rust is safer than C, so there's a smaller risk that it ends up crashing and taking the entire VM with it. Rustler[0][1] makes the integration a breeze.

    [0]: https://github.com/rusterlium/rustler

  • GitHub repo rust-cpython

    Rust <-> Python bindings

    Project mention: Should I learn Rust coming from Python? | reddit.com/r/rust | 2021-11-27

    You probably should learn Rust. Aside from the process of learning new and different languages making you a better programmer, rust-cpython, PyO3, or Interoptopus make it easy to expose Python APIs from your Rust code. (eg. So it's easy to compile the same codebase as both a Python module and a WebAssembly module.)

  • GitHub repo winapi-rs

    Rust bindings to Windows API

    Project mention: Noob question - Can I see what my used cargo crate has inside? | reddit.com/r/rust | 2021-08-04
  • GitHub repo cbindgen

    A project for generating C bindings from Rust code

    Project mention: Anyone interested in open-sourcing high-level memory-safe bindgen for Dart/Flutter &lt;–&gt; Rust? | reddit.com/r/rust | 2021-10-04

    Oh. So it's like cbindgen, but for Dart

  • GitHub repo workers-rs

    Write Cloudflare Workers in 100% Rust via WebAssembly

    Project mention: Native Rust support on Cloudflare Workers | reddit.com/r/rust | 2021-09-09

    Link to repo: https://github.com/cloudflare/workers-rs

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. 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.

  • GitHub repo rust-cpp

    Embed C++ directly inside your rust code!

    Project mention: Rust with C++? | reddit.com/r/rust | 2021-05-02

    Alright, thanks for all your ideas! I also found this mystor/rust-cpp, which apparently allows inline c++ as opposed to cxx. Having yet to try out any of these, I like the idea of inline code more. Thought now I feel I need to brush up my skills a bit more to try this stuff out.

  • GitHub repo jni-rs

    Rust bindings to the Java Native Interface — JNI

    Project mention: Portability of Rust in 2021 | reddit.com/r/rust | 2021-09-10

    - JNI - how well does https://github.com/jni-rs/jni-rs work? Assuming that Firefox runs on Android and uses Rust this should be reasonable to work with?

  • GitHub repo rust-objc

    Objective-C Runtime bindings and wrapper for Rust.

    Project mention: Wish we had Mac APIs for Rust | reddit.com/r/rust | 2021-02-04
  • GitHub repo curryrs

    Bridge the gap between Haskell and Rust

  • GitHub repo j4rs

    Java for Rust

    Project mention: Using JNI to call a Rust function that passes and returns a struct | reddit.com/r/rust | 2021-11-17

    j4rs

  • GitHub repo mrusty

    mruby safe bindings for Rust

    Project mention: Need some advice with integrating ruby scripting into my my project | reddit.com/r/rust | 2021-07-29

    I was at first using mrusty, then I switched to rutie, because I thought mrusty didn't support blocks (it does, it's just he documentation for it is easily missed, it's in the docs for the for the mrfn! macro, right near the bottom of the page), so I'm switching back (haven't yet started on this redo) because it has what I want & it's easier to use.

  • GitHub repo rusty-cheddar

    A Rust crate for automatically generating C header files from Rust source file.

  • GitHub repo rust-lua

    Safe Rust bindings to Lua 5.1

  • GitHub repo fruity

    Rusty bindings for Apple libraries

    Project mention: Wish we had Mac APIs for Rust | reddit.com/r/rust | 2021-02-04

    I recently found https://github.com/nvzqz/fruity looks interesting but also not production ready

  • GitHub repo rustpy

    Rust + Python = ????

  • GitHub repo RustJNI

    Run Java code from Rust!

  • GitHub repo duckdb-rs

    Ergonomic bindings to duckdb for Rust

    Project mention: Build a OLAP database using Rust for fun | reddit.com/r/dataengineering | 2021-07-06
  • GitHub repo rust-jni-sys

  • GitHub repo interoptopus

    The polyglot bindings generator for your library (C#, C, Python, …) 🐙

    Project mention: CGlue 0.2 is out! Dynamically loadable traits in Rust, C and C++ | reddit.com/r/rust | 2021-11-25

    I recently found a project that does C# and Python bindings very well, it might be worth checking out for collaboration/inspiration. https://github.com/ralfbiedert/interoptopus

  • GitHub repo unixstring

    An FFI-friendly null-terminated byte string

    Project mention: UnixString: a convenient FFI-friendly null-terminated byte string | reddit.com/r/rust | 2021-10-15

    On GitHub

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-11-28.

Rust FFI related posts

Index

What are some of the best open-source FFI projects in Rust? This list will help you:

Project Stars
1 neon 6,148
2 PyO3 4,949
3 Rustler 3,018
4 rust-cpython 1,510
5 winapi-rs 1,379
6 cbindgen 1,210
7 workers-rs 564
8 rust-cpp 556
9 jni-rs 546
10 rust-objc 284
11 curryrs 268
12 j4rs 264
13 mrusty 195
14 rusty-cheddar 187
15 rust-lua 115
16 fruity 96
17 rustpy 75
18 RustJNI 60
19 full_search 57
20 duckdb-rs 34
21 rust-jni-sys 31
22 interoptopus 28
23 unixstring 20
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com