Meta Oct 24, 2022

From zero to 10 million lines of Kotlin

Article Summary

Meta just migrated 10+ million lines of Android code from Java to Kotlin across Facebook, Instagram, and Messenger. Here's how they automated the impossible.

Meta's engineering team shares their journey converting their massive Android codebase to Kotlin. This isn't a small side project: it's a complete language migration across their entire family of apps, requiring custom tooling and systematic automation.

Key Takeaways

Critical Insight

Meta successfully converted 10+ million lines to Kotlin by automating the tedious parts of migration, proving large-scale language transitions are possible with the right tooling.

The article reveals specific J2K gotchas that break at runtime and the clever template-matching approach they built to fix them automatically.

Recent from Meta

Related Articles