Petar Marijanović

Kotlin Multiplatform - True power of native code reuse

Their first attempt at sharing 25% of their code failed spectacularly. Their second attempt, sharing 80%, succeeded. Discover the counterintuitive key to adopting Kotlin Multiplatform.

Kotlin Multiplatform - True power of native code reuse
#1about 7 minutes

Exploring the benefits of multi-platform mobile development

Multi-platform development accelerates delivery and reduces costs by using a single codebase, test suite, and bug list for both Android and iOS.

#2about 8 minutes

Comparing Kotlin Multiplatform to other frameworks

Kotlin Multiplatform offers native performance and immediate access to new platform features, avoiding the common drawbacks of other cross-platform solutions.

#3about 6 minutes

An initial architecture for sharing pure functions

The first attempt involved a reactive clean architecture that shared only 25% of the code as pure functions to minimize risk.

#4about 5 minutes

Discovering critical challenges in Kotlin Native

Key implementation blockers included the strict memory management model, threading issues with coroutines on iOS, and limitations with generics.

#5about 5 minutes

A revised architecture sharing everything but the UI

The successful solution involved sharing 80% of the code, including the entire business logic and presentation layers, to minimize jumps between native and shared code.

#6about 2 minutes

Key takeaways for starting with Kotlin Multiplatform

Developers should deeply understand Kotlin Native's strict memory model, be aware of coroutine limitations, and build a thorough proof of concept before starting a project.

#7about 2 minutes

Future plans for the open source architecture

The team plans to integrate a dependency injection framework like Koin, improve thread-bound object scoping, and release the architecture as an open source project.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
LM
Luis Minvielle
Cross Platform Mobile Development Frameworks to Use in 2025
In 2024, mobile developers seem to be trendy once again. The mobile application market is expected to grow by almost 12% in revenue in 2024 alone. For your reference, that’s even above what the renewable energy sector hopes to increase in earnings th...
Cross Platform Mobile Development Frameworks to Use in 2025
BR
Benjamin Ruschin
What Developers Really Need to Create Great Code Demos
Every developer on earth has, at some point, had another developer to thank for a breakthrough, a success, an aha moment they wouldn’t have had without coming across that blog post, that open-source contribution, that reply on socials or that humble ...
What Developers Really Need to Create Great Code Demos
CH
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take part
Starting with this week's Web Dev Day edition of WeAreDevelopers LIVE Days, we changed the the way we run these online conferences. The main differences are:Shorter talks (half an hour tops)More interaction in Q&AA tips and tricks "Did you know" sect...
WeAreDevelopers LIVE days are changing - get ready to take part
CH
Chris Heilmann
With AIs wide open - WeAreDevelopers at All Things Open 2025
Last week our VP of Developer Relations, Chris Heilmann, flew to Raleigh, North Carolina to present at All Things Open . An excellent event he had spoken at a few times in the past and this being the “Lucky 13” edition, he didn’t hesitate to come and...
With AIs wide open - WeAreDevelopers at All Things Open 2025

From learning to earning

Jobs that call for the skills explored in this talk.

Android Kotlin Programmer

Android Kotlin Programmer

Plexus Tech
Municipality of Madrid, Spain

GIT
Kotlin
Unit Testing
Agile Methodologies
Continuous Integration