Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Swift Remove topic Swift Clear all 3 posts RSS

2022

Slack Engineering

Scaling Slack’s Mobile Codebases: Modernization

Case study 12 min +120 XP

Slack's year-and-a-half Duplo initiative concluded by modernizing its iOS and Android codebases: iOS moved to a custom VIPER-style feature architecture, stricter SwiftLint rules banning singletons and NotificationCenter, Combine (via CombineX until iOS 12 was dropped), and broader SlackKit adoption, while Android replaced Gson with Moshi, Android Priority Job Queue with WorkManager, and handwritten API calls with an internal Retrofit-based library, and introduced coroutines and Compose incrementally. iOS ended 68% modernized and 81% modularized with CI stability rising from 77% to 90% and average time-to-merge down 64%, Android reached 92% modularization, and local builds later dropped nearly 50% with Bazel and M1 Macs.

Slack Engineering

Scaling Slack’s Mobile Codebases: Modularization

Case study 11 min +110 XP

Slack split its monolithic iOS and Android app targets into owned Feature, Service and Library modules with strict linking rules, such as interface/implementation pairs on iOS, to cut build times, untangle dependencies and clarify code ownership.

The quest for software engineering knowledge.

Look:
Layout: