Skip to main content
#DieHimmels­traeumerin

iOS dev • sketchnoting • accessibility • pineapple on pizza • sports • she/her

NSSpain 2023: An overview of different approaches to share code across platforms

Sketchnote of NSSpain 2023 talk by Benedikt about using Rust to share code with multiple platforms

Detailed image description of the sketchnote

  • Native UI? or customizable native flows?
  • only UI layer is written in native code and controller, model, libraries are shared code
  • Dackel Dackel Go
  • Do you want an Android арp? Look at population first or you could just write it twice?

Options

  • Futter
  • React Native (for simple apps or demos)
  • Kotlin Native
  • Swift
  • C
  • Rust

Rust

  • very similar to Swift
  • not written for a specific platform

Uniffi

  • generates libs for different platforms

Rust works! We're using it!