3 ms·
What would be really awesome would be a tool for generating JSI bindings to Rust code. Then you wouldn't need to go via Kotlin or Swift. I believe there are no
by nicoburns 3y ago
What would be really awesome would be a tool for generating JSI bindings to Rust code. Then you wouldn't need to go via Kotlin or Swift. I believe there are no technical barriers to such a tool. Someone just needs to implement it.
- pzo 3y agomaybe some ideas about interop can be taken from flutter module: https://github.com/fzyzcjy/flutter_rust_bridge https://github.com/fzyzcjy/flutter_rust_bridge
- zengid 3y agoMost of the details for doing this are over my head but wow what a nerd-snipe!
- nicoburns 3y agoIf you're looking for somewhere to start, then this repo which does some manual Rust <-> JSI integration might be a good one https://github.com/triniwiz/nativescript-mason https://github.com/triniwiz/nativescript-mason