$ the-wire · showcase
Flutter cuts iOS touch-to-present latency, Swift speeds appending loops
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Flutter removes a frame of touch latency on iOS and fixes a null frame dereference in animated images, while a Swift optimizer fix turns quadratic array-append loops back into linear ones.
Cleanup VSync infrastructure and improve iOS touch to present latency (#191444) flutter/flutter
Removing PointerDataDispatcher, SmoothPointerDataDispatcher and DefaultPointerDataDispatcher cuts one frame from iOS touch to present latency; the dispatchers existed to smooth event jitter, and this change retires them along with their VSync machinery.
Optimizer: remove redundant copies of array accumulators in appending loops apple/swift
CopyPropagation kept a redundant copy of the accumulator each iteration, breaking unique referencing so begin_cow_mutation copied the whole buffer instead of appending in place, turning a linear loop into a quadratic one. The fix targets overly conservative deinit-barrier checks and a forwarded-liverange computation in DestroyHoisting, so a.reduce([]) { $0 + $1 } and similar appending loops sho...
Fix null _nextFrame in MultiFrameImageStreamCompleter._handleAppFrame when a listener is re-added (#193575) flutter/flutter
MultiFrameImageStreamCompleter._handleAppFrame could run after its decoded frame was discarded and dereference a null _nextFrame, tripping the assert in debug builds and a null-check error in release. Re-adding a listener was the trigger, so apps that attach and detach image stream listeners should see the crash disappear.
Define F[Add,Sub,Mul]Relaxed builtins for float/vector types apple/swift
FAddRelaxed, FSubRelaxed and FMulRelaxed carry the no-signed-zeros, contract and reassociate fast-math flags, licensing algebraic transformations that allow freer vectorization and ILP extraction at the cost of results that are not necessarily bit-identical across compilation targets or backend versions.
Add --shader-report and --fail-on-unused-shaders option to impeller_golden_tests (#193319) flutter/flutter
impeller_golden_tests gains --shader-report, which lists shaders that were prewarmed but never used, and --fail-on-unused-shaders, which fails the goldens when a shader is entirely unused. Elsewhere today: Swift's -serialize-diagnostics=sarif now emits a SARIF log, Embedded allocation functions take alignments instead of masks, Kotlin deprecated Node.JS in the wasm-wasi target, and DefaultImpls...