LobstersApple Inc.7 min readrelease notesintermediate
Swift 6.4 Released
Summary
Swift 6.4 adds Swift Build as the default SPM build system, stabilizes Subprocess (1.0), expands C++/Java interop, boosts WebAssembly performance (up to 40×), introduces new language features (optional some/any, @diagnose, module selectors, async defer, cancellation shields), adds non‑copyable array types, SBOM generation, and broader IDE support.
- Swift Build is now the default build backend for SwiftPM on all platforms.
- Subprocess library reaches 1.0, offering a pure‑Swift, concurrency‑first API for cross‑platform process management.
- Direct bridging between Swift Span and C++20 std::span; Java interop gains async/throwing support and automatic Runnable mapping.
- WebAssembly via JavaScriptKit is up to 40× faster; Wasm SDK shipped with Swift.org.
These changes tighten Swift’s position as a full‑stack language—making it easier to build, test, and ship code across servers, browsers, embedded devices, and native apps while preserving safety and performance. The tooling upgrades (Swift Build, SBOMs, IDE extensions) also lower friction for CI/CD…
6/10