From Modularization to Clang and Back
summary
A Yandex Travel team’s method for modularizing large Swift projects: they visualize and analyze project structure to split code into modules with minimal effort. The talk explains building dependency graphs using SwiftSyntax, using Periphery for static and dynamic entity-relationship analysis, and leveraging the swift-index-store tool for Swift metadata; it also covers generating files that make project structure easier to understand and manage.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:47Monolith problem
- 6:01Static dependency analysis
- 12:51Dependency graph analysis
- 20:51Dynamic code analysis
- 25:15Build-time indexing
- 35:31Analysis summary
- 37:37Modularization results
- 40:33Recommendations
related talks
39mModularization techniques from monolithic to multi-packages app
42mSplitting Monolithic Swift Code Base Into Modules
01h 00mHow to Build Modularity with SPM and a Monorepo Without Going Gray
33mScaling Swift Development
44mSwift Packages - Dependency Management of the Future
44mMigrating to Swift 6: Building Graphs for a Successful Transition
37mCut costs, not corners: Master modularization with SPM
28mSwiftly Swift manipulation... with Swift
