uniffi-rs

a multi-language bindings generator for rust (by mozilla)

Uniffi-rs Alternatives

Similar projects and alternatives to uniffi-rs

  1. rust

    2,827 uniffi-rs VS rust

    Empowering everyone to build reliable and efficient software.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. bevy

    594 uniffi-rs VS bevy

    A refreshingly simple data-driven game engine built in Rust

  4. tauri

    508 uniffi-rs VS tauri

    Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

  5. wgpu

    212 uniffi-rs VS wgpu

    A cross-platform, safe, pure-Rust graphics API.

  6. serde

    Serialization framework for Rust

  7. PyO3

    158 uniffi-rs VS PyO3

    Rust bindings for the Python interpreter

  8. cxx

    101 uniffi-rs VS cxx

    Safe interop between Rust and C++

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. pybind11

    Seamless operability between C++11 and Python

  11. napi-rs

    A framework for building compiled Node.js add-ons in Rust via Node-API

  12. SWIG

    29 uniffi-rs VS SWIG

    SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.

  13. Rhai

    29 uniffi-rs VS Rhai

    Rhai - An embedded scripting language for Rust.

  14. cacao

    22 uniffi-rs VS cacao

    Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!

  15. swift-bridge

    swift-bridge facilitates Rust and Swift interop.

  16. iroh

    12 uniffi-rs VS iroh

    peer-2-peer that just works

  17. qt

    12 uniffi-rs VS qt

    Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly

  18. flutter_rust_bridge

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

  19. rutie

    “The Tie Between Ruby and Rust.”

  20. koto

    6 uniffi-rs VS koto

    A simple, expressive, embeddable programming language

  21. diplomat

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

  22. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better uniffi-rs alternative or higher similarity.

uniffi-rs discussion

Log in or Post with

uniffi-rs reviews and mentions

Posts with mentions or reviews of uniffi-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-05-18.
  • Lessons from Mixing Rust and Java: Fast, Safe, and Practical
    6 projects | news.ycombinator.com | 18 May 2025
    Do not write the bindings manually. Just use the amazing uniffi-rs library from Mozilla.

    https://github.com/mozilla/uniffi-rs

    You can generate bindings for multiple languages. It supports error handling on both sides and latest versions also support native async integration.

    I've used it to reuse the same Rust engine in iOS and Android apps and write native UI.

    https://github.com/koofr/vault

  • Show HN: Gobley – Call Rust from Kotlin Multiplatform
    4 projects | news.ycombinator.com | 6 Apr 2025
    - GitHub discussions: https://github.com/gobley/gobley/discussions

    Gobley is a fork of the (now archived) uniffi-kotlin-multiplatform-bindings (https://gitlab.com/trixnity/uniffi-kotlin-multiplatform-bind...) which is built on Mozilla’s excellent (still active) UniFFI (https://github.com/mozilla/uniffi-rs) project.

    Please try it out and let us know what you think!

  • Koto Programming Language
    16 projects | news.ycombinator.com | 29 Mar 2025
    Limited for now, Koto's main role as an embedded language has meant that I haven't had a need, but I would like to provide bindings for other languages at some point, and to enable dynamically loaded Rust libraries.

    I'd start by trying UniFFI [1] which looks much simpler than the approach of manually writing a C API and using that as a foundation for higher-level language bindings.

    This would also likely be the starting point for a package management system (if there ends up being demand for one). Rust doesn't have a stable ABI so to make sure that dynamically loaded Rust packages are compatible, either Koto would need to be in the business of Rust toolchain management so that packages can be recompiled when needed, or an API layer would be needed. There are some projects that provide ABI-compatibility shims but I don't like the idea of having two separate approaches to FFI, so I'd want to try to build on the foreign-FFI layer once it's in place.

    I'm half hoping that by the time I'm interested in working on this Rust will have decided to pursue ABI stability. And there's also something in the back of my mind that's yelling 'Wasm!' at me but I would need someone wiser to convince me that it would be the right direction.

    [1] https://github.com/mozilla/uniffi-rs

  • UniFFI: A multi-language bindings generator for Rust
    1 project | news.ycombinator.com | 17 Jun 2024
  • Crossing the Impossible FFI Boundary, and My Gradual Descent into Madness
    4 projects | news.ycombinator.com | 17 Jun 2024
  • Ask HN: How's your experience with Compose/Kotlin multiplatform?
    1 project | news.ycombinator.com | 9 May 2024
    Kinda. Did a dummy project in a few languages to see what I wanted to use for the big project.

    Looked at Go, Swift, Kotlin MP, and Rust.

    I liked Kotlin tools, and small binary size. If I knew I wasn't going to need more libraries in the future I might pick it.

    Go is great, although binaries a bit large with the runtime packed in, and TinyGo too limiting.

    Rust: I couldn't find a good multi-language binding package so I skipped it... then later found https://github.com/mozilla/uniffi-rs It could be a top contender.

  • Opaque Types for UniFFI
    3 projects | dev.to | 7 Mar 2024
    On my youtube series "Growing up Rust", I'm building a personal CRM in Rust with a Swift frontend. I'm using CQRS and an event-driven architecture with the least amount of swift as possible. I'm using UniFFI to generate the bindings for swift (and in this example python)
  • Willow Protocol
    7 projects | news.ycombinator.com | 17 Jan 2024
    Not officially. We currently have bindings for rust, python, golang and swift.

    These were the most asked for bindings (python for ml, golang for networking and swift for ios apps).

    We are using uniffi https://mozilla.github.io/uniffi-rs/

    Would you need C or C++ bindings?

  • UniFFI: Automatically generate foreign-language bindings for Rust libraries
    1 project | news.ycombinator.com | 30 Nov 2023
  • Compiling Rust for .NET, using only tea and stubbornness
    4 projects | news.ycombinator.com | 29 Aug 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 20 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Stats

Basic uniffi-rs repo stats
32
3,332
9.4
8 days ago

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?