DEV Community

Discussion on: Dart Meets Rust: a match made in heaven ✨

Collapse
 
chimon1984 profile image
Ryan Edge

What are some use cases where using rust and Dart makes more sense than platform integrations and vice versa?

Collapse
 
shekohex profile image
shekohex

I think our use case is not so especial, as I said our code base almost entirely written in Rust, and building FFI for rust and using tools to even generate the binding for us is really amazing, and easier than write two binding one for java using NDK and the other one for Swift which I guess also would require writing binding too, we going to just to ignoring that there is overhead to serialization/deserialization because channels using json message passing, which is not so bad, but it wouldn't be easy as the FFI approach.

Just Write once deploy everywhere :)