Anyone interested in open-sourcing high-level memory-safe bindgen for Dart/Flutter <–> Rust?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • flutter_rust_bridge

    Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.

  • It is already on GitHub now https://github.com/fzyzcjy/flutter_rust_bridge and will be published maybe in a day ;)

  • PyO3

    Rust bindings for the Python interpreter

  • My suggestion is to use dart and dart-sys crate names for less opinionated interop (dart-sys being unsafe raw FFI, and dart being a safe wrapper plus higher level things). An aspiration would be for it to be as complete as the pyo3 Python bindings.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cbindgen

    A project for generating C bindings from Rust code

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

  • Flutter

    Flutter makes it easy and fast to build beautiful apps for mobile and beyond

  • I have a Flutter app. Just a normal one, you can follow flutter.dev to create one. Then I have some normal Rust code. Also very normal, like you do in rust official website.

  • diplomat

    Experimental Rust tool for generating FFI definitions allowing many other languages to call Rust code

  • I'm not that interested in a separate tool for this but it would be really cool to have a dart plugin as a part of Diplomat. Diplomat's not fully polished yet but it's totally okay to add new language backends to it. (Eventually I plan to restructure it so that it has a cleaner plugin interface, but for now "checked into tree" is fine for backends)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts