Last week, I had the pleasure to speak at the
#meetup of
@podcast for the second time. The topic was ‘#Headless Apps’ with
#rust.
To get started, Maik Mursall gave a 15-minute Lightning Talk introducing
#Kotlin #Multiplatform and Compose Multiplatform. Kotlin Multiplatform is the abstraction over the different platforms: Kotlin as the language - desktop and mobile platforms as targets. Compose Multiplatform makes it possible to write UI code once and bring it to the targets as well. I’m happy he contributed to the idea of cross-platform cores by mentioning Orbit-MVI. In the past, I considered Kotlin Multiplatform to be insufficiently stable. However, Maik was convinced that a lot has changed in the last two years. I will take a closer look at it and share my opinion in a few weeks.
In my talk I covered the topics Cross-Platform Cores in general and why Rust is the best fit if you want to build long-lasting, robust and flexible Domain Cross-Platform Cores: Rust is stable, produces maintainable code, leads to robust software thanks to the combination of the language and the compiler, and the targets cover desktop computers, mobile devices, the browser via
#WASM and even microcontrollers.
I explained why the architecture should be an event-driven one: We can easily bind the UI to the domain events and the view model.
I shared my perspective on a really thin UI layer, like a wallpaper (UI) on a thick wall (core).
I demonstrated the concrete usage of the framework
#Crux by Red Badger including the concepts of Event, Effect, Command and Operation. In the end, I shared some practical insights and also what it took to integrate
#c codebases.
You can find the slides here:
https://learn.marcelkoch.net/slides/cross-platform-rust-enThere is also the first of three articles on
@heisedeveloper covering the topic as well:
https://www.heise.de/hintergrund/Cross-Plattform-Applikationen-mit-Rust-1-Langlebig-und-flexibel-10646857.htmlI’m excited to share with you that the
programmier.bar meetups are truly something special. The location is extraordinary, the staff is very friendly and professional and the thank-you gifts are made with love and creativity. There is no better meetup to give a talk at.
Special thanks to Jan Gregor Emge-Triebel, Julian Mueller, Vanessa Platz-Czekansky, Michael Maier and Ann-Kristin Buhn. You made it pleasant and easy.
By the way, my first talk was about interpersonal communication. There is also a
#podcast we recorded about this topic in German:
https://www.programmier.bar/podcast/deep-dive-132-kommunikation-in-der-it-mit-marcel-koch#crossplatform #multiplatform #mobiledevelopment #development