$ the-wire · showcase
Flutter tools go lazy, Swift fixes deep loop nests
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Flutter's tooling picked up deferred Apple dependency construction and streamed web proxy responses, while Swift's optimizer stopped crashing on loop nests deeper than 32 and set up unspecialized Set.formUnion for the same fast path Set(array) got.
ArrayPropertyOpt: fix a crash for loop nests deeper than 32 loops apple/swift
ArrayPropertiesAnalysis held its BasicBlockSet alive while recursing into sub-loops, capping loop nesting at the number of available basic block bits and tripping the "too many/large bit fields allocated in function" assertion beyond 32 levels. The analysis is now scoped so deep loop nests compile instead of crashing the compiler.
Speed up unspecialized Set.formUnion from sequences apple/swift
Set(array) got fast in unspecialized code, but formUnion still pushed each element through the generic Sequence iterator, leaving Set().formUnion(array) up to ~8x slower than calling Set(array) directly. The new path uses the sequence's contiguous buffer when one exists, checks storage uniqueness once instead of per insert, and delegates to Set(array) when the set is empty and under-capacity.
[flutter_tools] Stream web dev server proxy responses instead of buffering them (#194934) flutter/flutter
Proxied responses matching a web_dev_config.yaml rule carried no context, so shelf_io left them on dart:io's default 8 KB output buffer and a single SSE event or NDJSON line could sit there unflushed. The dev server now streams the backend response through instead of buffering it.
[flutter_tools] Lazily initialize AppleContext dependencies via builder closures (#191992) flutter/flutter
AppleContext's 8 eager Apple-specific fields are now lazy builder closures memoized in late final fields, and XCDevice, IOSSimulatorUtils, and CocoaPodsValidator no longer get constructed inside ToolDependencies.bootstrap and generateCommands. Tools that skip an Apple dependency stop paying for it at startup.
Embedded: Add clocks to PAL apple/swift
ContinuousClock and SuspendingClock were unavailable in Embedded Swift and platforms could not supply their own. Both now route through four new EmbeddedPlatform.h functions for time and resolution, with weak definitions in libswiftEmbeddedPlatformPOSIX.a on triples that have POSIX clocks.
[JVM] Drop `JvmIrCodegenFactory.BackendInput.irProviders` JetBrains/kotlin
Kotlin continued clearing dead frontend surface: JvmIrCodegenFactory.BackendInput.irProviders and Fir2IrComponents.irProviders both always held an empty list and are gone, along with unused K1 entrypoints and API in :compiler:frontend.