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
20082026
-
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…
comment by lukax · 2025-05-18 · in Lessons from Mixing Rust and Java: Fast, Safe, and Practical -
…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 -
…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.…
comment by jhugman · 2024-12-05 · in Uniffi for React Native: Rust-Powered Turbo Modules -
…[2] https://www.firezone.dev/kb/architecture/tech-stack#client-a... [3] https://github.com/mozilla/uniffi-rs
comment by jamilbk · 2024-06-17 · in Crossing the impossible FFI boundary, and my gradual descent into madness -
…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.
comment by scosman · 2024-05-09 · in Ask HN: How's your experience with Compose/Kotlin multiplatform? -
…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? -
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 -
…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 -
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 -
…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…
comment by terhechte · 2022-07-15 · in Integrating a Rust module into an Android app -
…near something like pybind11 [0] for c++ bindings yet. [0] https://github.com/pybind/pybind11 [1] https://github.com/mozilla/uniffi-rs
comment by pzo · 2022-02-12 · in All you should know about Flutter development -
Sounds similar to https://github.com/mozilla/uniffi-rs . Hopefully Oso open source their library.
comment by fuddle · 2021-10-27 · in We Built a Cross-Platform Library with Rust