Hacker News new | ask | show | jobs
by mamcx 1356 days ago
Rust can compile to both easily, and I use a single FFI function that pass JSON between the UI/Rust logic. There I model a Request/response that is similar to HTTP, and the rest is pure Compose/SwiftUI stuff.