Talking Kotlin

Going from Swift to Kotlin with Skip

11 snips
Dec 9, 2024
Abe White and Marc Prud'hommeaux, co-founders of Skip, share their expertise in bridging the iOS and Android ecosystems. They discuss their innovative transpiler that converts Swift to Kotlin, making multi-platform development seamless. Key challenges, like API integration and serialization across platforms, are examined. The duo emphasizes enhancing developer experience by improving tooling support, especially for those transitioning from Xcode to Android Studio. They also touch on the complexities of state management in modern UI frameworks.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Pivot From Server UI To Transpiler

  • Marc and Abe started from server-driven UI experiments and hit Android as a blocker when prototyping SwiftUI delivery.
  • They prototyped a transpiler after finding an earlier open-source tool and overcoming translation blockers.
ADVICE

License The Transpiler, Use Open Libraries

  • Purchase an annual or monthly Skip subscription to run the proprietary transpiler while core libraries remain open source.
  • Cancel when you want to stop generating Android output and keep the generated Kotlin as your own codebase.
INSIGHT

iOS APIs Are Easier To Map To Android

  • Mapping iOS APIs to Android is easier than the reverse because iOS APIs are coarser-grained while Android exposes many fine-grained primitives.
  • Skip allows injecting raw Kotlin when automatic translation doesn't match expected Android behavior, avoiding hard constraints.
Get the Snipd Podcast app to discover more snips from this episode
Get the app