Rust & cross-platform mobile development

Igor Steblii
The Startup
Published in
8 min readMay 7, 2020

--

Recently I started to investigate options to share business logic between Android & iOS. This investigation leads me to Rust — very interesting and relatively new programing language so I decided to give it a try.

What is Rust?

Two most important point from the documentation:

Rust is blazingly fast and memory-efficient: with no runtime or garbage collector, it can power performance-critical services, run on embedded devices, and easily integrate with other languages.

It is a native-level language like C++.

Rust’s rich type system and ownership model guarantee memory-safety and thread-safety — enabling you to eliminate many classes of bugs at compile-time.

Its compiler will try to save you from common memory mistakes.

Is it popular?

Based on the 2019 survey, Rust is one of the most loved & wanted among engineers (why?):

source: https://insights.stackoverflow.com/survey/2019/#technology-_-most-loved-dreaded-and-wanted-languages

General trends are not that great:

--

--