Hacker GitHub

← All repos

mozilla/uniffi-rs

View on GitHub ↗ ★ 5,081 Rust

a multi-language bindings generator for rust

14 mentions on Hacker News by 12 people: 2 stories, 12 comments · first 2021-10-27 · latest 2025-05-18

Mentions per year 14 mentions · busiest year 2024 (4)
20082026
  1. 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…
  2. …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
    comment by irh · 2025-03-30 · in The Koto Programming Language
  3. …The current task is teaching uniffi to support multiple foreign languages at the same time: < https://github.com/mozilla/uniffi-rs/issues/2295 >. But, yeah, what we're launching today takes you closer to your dream than it was yesterday.…
  4. …[2] https://www.firezone.dev/kb/architecture/tech-stack#client-a... [3] https://github.com/mozilla/uniffi-rs
  5. …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.
  6. …From a random Cargo package I have downloaded to my computer: [dependencies] uniffi = { git = "https://github.com/mozilla/uniffi-rs" } You can also specify revision/branch/etc. Alternatively, you can do: [registries] maven = { index =…
    comment by jeroenhd · 2023-10-26 · in Was Rust Worth It?
  7. check out uniffi for a complete workflow for FFI in many languages: https://github.com/mozilla/uniffi-rs
    comment by pmkelly4444 · 2023-10-08 · in Calling Rust from Python
  8. …automatically. It supports Swift, Kotlin, Python, Ruby and JavaScript (not in the official repo). https://github.com/mozilla/uniffi-rs
    comment by lukax · 2023-05-14 · in macOS Apps in Rust
  9. Did a brief search on the rust ffi, seems that mozilla has something interesting shared on the topic https://github.com/mozilla/uniffi-rs and https://blog.mozilla.org/data/2022/01/31/this-week-in-glean-...
    comment by edimoldovan · 2022-09-07 · in Ask HN: Native App Development Stack
  10. …shines, the next best solution is uniffi by Mozilla, which has quite solid iOS/Android support: https://github.com/mozilla/uniffi-rs While this works, the bigger pain (at least on iOS) is that the Rust-Compiler LLVM and Xcode LLVM are not…
  11. …near something like pybind11 [0] for c++ bindings yet. [0] https://github.com/pybind/pybind11 [1] https://github.com/mozilla/uniffi-rs
  12. Sounds similar to https://github.com/mozilla/uniffi-rs . Hopefully Oso open source their library.