The Wire · Showcase
SWIFT RUNTIME GETS BULK REFCOUNTING BOOST, FLUTTER TRACKING UPSTREAM DARTS
By RepoJournal · Filed · About Mobile platforms
Swift's refcounting test suite just got faster with bulk operations, while Flutter is locked in sync with three concurrent Dart SDK rolls as the platform teams chase down edge cases near powers of two.
Apple's Swift team landed a significant runtime optimization [1] that speeds up refcounting tests by batching operations and targeting the edge cases that matter: areas near powers of two where overflow issues hide. The same team also shipped a new build option [2] to lazy-link Foundation and CoreFoundation symbols directly rather than looking them up dynamically, cutting unnecessary library loads. A companion deinit barrier fix [3] prevents SIL from mis-compiling code where destructors interact with dynamic access scopes that protect memory. Over on Flutter's end, the autoroller has been aggressive with Dart SDK updates [4] [5], rolling three times in rapid succession as version 3.14.0-dev evolves. Kotlin's Swift Package Manager integration picked up a fix [6] where lock files were being ignored when version constraints switched from exact to range specifications. Across all three desks, 17 commits and 17 PRs moved the mobile platform stack forward, with Swift's runtime team owning the momentum.
One email a day. Unsubscribe in one click.
Keep up with Mobile platforms in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Watch Flutter's Dart SDK rolls for breakage signals; revert quickly if you see test failures flutter/flutter [monitor]
- → Review Swift's new SWIFT_STDLIB_ENABLE_LAZY_LINK option for your stdlib builds apple/swift [plan]
- → Verify Kotlin/Native Swift PM builds respect lock files after the version fingerprinting fix JetBrains/kotlin [plan]
References
- [1] [Runtime] Speed up the long refcounting tests by refcounting in bulk. ↗ apple/swift
- [2] [Build] Add SWIFT_STDLIB_ENABLE_LAZY_LINK for upward-linked symbols. ↗ apple/swift
- [3] SIL: make dynamic access scopes a deinit barrier ↗ apple/swift
- [4] Roll Dart SDK from 923415105b1e to 7239be9b8b07 (1 revision) (#190801) flutter/flutter
- [5] Roll Dart SDK from b608f3238a0f to 923415105b1e (1 revision) (#190796) flutter/flutter
- [6] [KT-88154] Swift PM lock file is ignored on switching version from `exact` to `from` JetBrains/kotlin