UniFFI (at Async JS meet up)
Tonight I was at Async for James talking about uniffi-rs. It’s a tool to generate bindings to Rust code from various other places: Javascript worlds, Python, Kotlin, Swift, others, and now—thanks to James—React Native too.
This one slide nicely shows the idea:
This is all new to me. It means you can:
- package up core logic and behaviour into Rust (nicely typed, safe, and well tested);
- package it, automatically via a build step; and
- call it at a high-level from iOS, Android, React (etc) application.
The talk will likely show up on the Youtube channel: