in ,

Ask HN: Best language to share code between an Android and iOS app ?, Hacker News


Brave Browser
Read More
Payeer

Ask HN: Best language to share code between an Android and iOS app?
        28 pointsbymevorah4 hours ago|hide|past|web|favorite|27 comments
Hello app developers of HN!

My team owns an Android (Kotlin) and iOS (Swift) app. The app is responsible for processing data, submitting to ML models, and then displaying results in a UI. We chose to do a lot of that processing in a shared Rust component. What we have found is a high overhead of bridging Kotlin / Swift to Rust. Some core logic has also seeped into our bridging code resulting in some duplication (exactly what we were trying to avoid).

With that, those of you who have found yourselves in similar situations, which language would you choose to be shared between your Android and iOS app (if any)?

          

      

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

One Page Dungeon Generator, Hacker News

One Page Dungeon Generator, Hacker News

Why Verstappen did, and Hamilton didn't, get a grid penalty at the Mexican GP – ESPN India, Espn.in

Why Verstappen did, and Hamilton didn't, get a grid penalty at the Mexican GP – ESPN India, Espn.in