$ the-wire · showcase
Kotlin's Wasm-JS target drops the experimental label
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Kotlin declared its Wasm-JS backend stable, while Swift spent the day reworking macro expansion and the C++ interop bridge and Flutter pushed a lint that replaces null-initialized debug fields with late final.
[Wasm] Wasm-js is not experimental JetBrains/kotlin
KT-87562 landed, so the WebAssembly JS target is no longer flagged experimental in the compiler. If you have been holding off on platform-specific wasmJs source sets because of that designation, the compiler no longer treats the target that way.
[SwiftMacros] Use raw strings in derivation macro expansions apple/swift
Derivation macros for Hashable and Equatable used to compose SwiftSyntax nodes via string interpolation, which forced the resulting nodes to be re-parsed repeatedly; the expansions now use plain strings as the currency type. Behaviour is unchanged, and the work is gated behind the DeriveConformancesViaMacros experimental feature.
[cxx-interop] Improve inference of escapable types apple/swift
The cxx-interop importer previously inferred unknown escapability for any type with user-provided special member functions. It now imports a type as escapable when all its constituents are escapable regardless of those functions, and treats a type with non-escapable members as non-escapable unless it has custom special member functions.
[cxx-interop] Typecheck Swift initializers in subclasses of foreign reference types apple/swift
The typechecker now handles user-declared Swift initializers on Swift classes inheriting from C++ foreign reference types, plus implicit no-argument initializers when the base FRT has a no-argument constructor. As a side effect, all imported C++ FRT constructors now come in as convenience factories whether or not the experimental flag is on, and constructors from base FRTs are not implicitly in...
Sema: Promote supertype bindings apple/swift
A new optimization lets a supertype binding be promoted to an exact binding when nothing blocks it from below, guarded by the -solver-enable-promote-supertypes flag, which the compiler team says will be enabled by default soon. Rounding out the day, Flutter enabled null_initialized_debug_expensive_fields in packages/flutter/lib and converted debug-only fields to late final, and two Dart SDK rol...