Which language is the most commonly used for the shared logic of Android and iOS apps? Kotlin? C++? Other?

This page summarizes the projects mentioned and recommended in the original post on /r/learnprogramming

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • SWIG

    SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.

  • Do what DropBox did for many years. DropBox wrote a blog post about how they used to share their core C++ systems code between their apps. Eventually they gave up and decided it was easier to just write the same code twice, once in Java and once in Swift. However, they went about doing this in a very bizarre way, using their own custom build tooling and whatnot. In particularly, they tried to share C++ data types between Android and iOS via manually generated language bindings via stuff like SWIG. I don't recommend their approach, but it is an approach, so I feel like it's worth mentioning.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts