$ the-wire · showcase
Flutter tool DI migration goes lazy, Kotlin kills a quadratic devirtualization blowup
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Two build-time pain points get addressed: Flutter pushes expensive filesystem work out of tool constructors while Kotlin Native stops devirtualization from eating memory quadratically.
[flutter_tools] Lazily initialize AndroidSdk platform and build-tools discovery (#191972) flutter/flutter
AndroidSdk no longer runs its platform and build-tools filesystem discovery in the constructor; it now defers that work until something actually needs it. This lands ahead of the modular dependency injection migration, which creates context objects like AndroidContext upfront during ToolDependencies.bootstrap, so the cost was being paid on every tool invocation whether or not an Android SDK was...
[K/N][codegen] Devirtualization: remove quadratic memory consumption JetBrains/kotlin
Kotlin Native's devirtualization analysis builds a whole-program constraint graph, compresses it, then runs DFA over the result, and its memory use grew quadratically. The change removes that growth, which matters most on large Kotlin/Native link jobs where the analysis is a known memory hog.
[Concurrency][Sema] Make isolated witness fix-it more precise apple/swift
The compiler now suggests isolating a witness for static let, and stops offering that fix-it for lazy, overridden members with willSet or didSet, and patterns with more than one member. In other words, several previously recommended fixes were wrong; if you have accepted them in concurrency-heavy code, re-check the ones you took.
Revert "BorrowingForLoop: bind the sequence to a local variable" apple/swift
The BorrowingForLoop change that bound the sequence to a local variable is reverted, and the overlapping-access error that was expected under -emit-sil for the span reassignment case no longer fires. Swift's exclusivity checking for borrowed sequences is back to its previous behavior.
[K/N] Escape library paths in the response file in `GccBasedLinker` JetBrains/kotlin
Since 144453e, GccBasedLinker passed static and dynamic library paths through an @response file with plain double quotes, which is only correct for tools invoked with --rsp-quoting=windows. Linux target linkers (ld.lld and GNU ld, plus ld.gold on Windows hosts) expand response files with GNU rules, so paths needed escaping to match. On the docs side, Swift dropped stale smoke-test trigger instr...