$ the-wire · showcase
Impeller drops HDR memory optimization, Swift fixes exponential compile blowup
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Flutter traded a memory optimization for correct HDR rendering on iOS, Swift killed a jump-threading heuristic that produced exponential code growth, and Kotlin's swiftExport DSL deprecation just got a much shorter runway.
Fix HDR image packing for ios (#192526) flutter/flutter
Impeller packed opaque wide-gamut images into 10-bit XR to save memory on iOS, but HDR content exceeds that color range, so overflow caused spilling artifacts as tracked in issue 191805. The fix removes the memory optimization for HDR images only; opaque SDR wide-gamut packing is unchanged, meaning HDR images now cost more memory than before.
SimplifyCFG: don't jump thread a literal into a cond_br if the branch condition doesn't depend on it apple/swift
SimplifyCFG's tryJumpThreading granted a threading budget whenever a destination block's cond_br had any literal branch argument, even when the condition didn't depend on that literal, so threading merely duplicated code. For chained diamond-shaped CFGs such as x = x && y inside a loop, the pruning gap produced exponential code growth and very long compile times.
[Gradle] Shorten the deprecation cycle of the swiftExport DSL JetBrains/kotlin
The legacy swiftExport { } DSL stays a warning in Kotlin 2.5.0, becomes an error in 2.5.20, and is removed in 2.6.0, rather than waiting until 2.7. The @Deprecated message and DeprecatedSwiftExportDsl diagnostic were updated to match; if you're on the experimental Swift Export path, you have roughly two minor releases to move off it.
JVM: do not remove checkcasts before aastore in inline functions with reified operations JetBrains/kotlin
RedundantCheckcastsBeforeAastoreMethodTransformer now skips functions containing reified operation markers, so the checkcast before each aastore is preserved. The optimizer was removing a cast the JVM verifier needs once reified operations made the array store type-dependent, a correctness fix rather than a code-size one.
[web] Skip non-focusable containers in Focusable.focusAsRouteDefault flutter/flutter
Focusable.focusAsRouteDefault() now returns early when the semantics object isn't focusable, so container roles like SemanticScrollable, SemanticForm, SemanticList, and SemanticTable stop swallowing initial route focus when dialogs or drawers open on Web. Verified against the chrome-dart2js-canvaskit-engine suite, 271 tests passing. Alongside that, the Windows desk added OpenGL compositor tests...
Action items
- → Migrate off the swiftExport { } DSL in Gradle builds before Kotlin 2.6.0 removes it JetBrains/kotlin [plan]