Wednesday , October 21 2020

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

Brave Browser
Read More

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)?



About admin

Check Also

Erlang LS – The Erlang Language Server, Hacker News

Implementing features such as auto-complete or go-to-definition for a programming language is not trivial. Traditionally, this work had to be repeated for each development tool and it required a mix of expertise in both the targeted programming language and the programming language internally used by the development tool of choice. A brilliant intuition, the Language…

Leave a Reply

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