Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Swift.org 7 min read Release mediumAdept

Swift 6.4 Released

Swift 6.4 makes Swift Build the default backend for SwiftPM, giving consistent builds across Linux, macOS and Windows, adds SBOM generation, and ships Subprocess 1.0 for cross-platform process execution on Swift concurrency. Language changes include async calls in defer blocks, task cancellation shields for guaranteed cleanup, module selectors (`::`) for resolving name conflicts, and a source-level `@diagnose` attribute for controlling warnings. Interop expands with C++20 `std::span` bridging to `Span`, `@c`/`@implementation` for C, and broader Swift/Java async support. JavaScriptKit Wasm bridging is up to 40x faster, Embedded Swift gains existential types, and new ownership-oriented types such as `UniqueArray`, `UniqueBox`, `Ref` and the `Iterable` protocol avoid copies and copy-on-write overhead while staying memory-safe.

Related posts

  • What's new in Swift: September 2026 Edition

    Swift.org easyNovice

    Swift 6.4 shipped with Swift Build as the default SwiftPM build system, Subprocess 1.0, up to 40x faster WebAssembly bridging via JavaScriptKit, path-based module tracking in debug info (build systems should switch to `-debug-module-path`), and Embedded Swift improvements. Vapor turned ten and released the Vapor 5 beta, a rewrite built on structured concurrency and the new Swift HTTP Server that drops `EventLoopFuture`. Other items include Google Cloud client libraries for Swift, WasmKit 0.4 with a 2x faster interpreter, Swift AWS Lambda Runtime 3.0, and Evolution proposals such as `#if deploymentTargetAtLeast`, same-file memberwise initializer extensions, `resignRemoteID` for distributed actors, and default package settings.

  • Swift 6.3 Released

    Swift.org mediumAdept

    Swift 6.3 adds a `@c` attribute for exposing Swift functions and enums to C (or implementing C-declared functions in Swift via `@c @implementation`), `Module::name` selectors for disambiguating APIs from different imported modules, and library performance attributes `@specialize`, `@inline(always)` and `@export(implementation)`. SwiftPM gains a preview of the unified Swift Build engine, prebuilt swift-syntax for macro libraries and a `show-traits` command. Swift Testing adds warning-severity issues, test cancellation and image attachments, and DocC gains experimental Markdown output, static HTML content and code block annotations. The release also ships the first official Swift SDK for Android and further Embedded Swift improvements.

  • Embedded Swift Improvements Coming in Swift 6.4

    Swift.org mediumAdept

    Swift 6.4 expands Embedded Swift, the low-footprint compilation mode for microcontrollers, to cover more of full Swift: general existential (`any`) types including `Any`, untyped throws, and complete metatype support, plus floating-point string parsing and throwing tasks and task groups in the concurrency library. Because Embedded Swift requires all generics to be specialized, generic methods still cannot be called on `any` values. Dynamic features cost code size and indirect calls only where used, and typed throws remain preferable when avoiding heap allocations. The changes are available now in development snapshots.

  • Bringing Goodnotes to the web with Swift and WebAssembly

    Swift.org mediumAdept

    Goodnotes runs the same Swift code behind its iPad app in browsers by compiling it to WebAssembly with SwiftWasm, sharing 1.47M lines (66% of the 2.2M-line web codebase) including a rendering engine that targets Metal on iOS and WebGL on the web. The port required replacing libdispatch with Swift Concurrency, fixing code that assumed a 64-bit Int on wasm32, and abstracting I/O through dependency injection. WASI threads with Web Workers and SharedArrayBuffer, plus custom actor executors (SE-0392) that pin actors to specific workers, more than doubled INP but require cross-origin isolation. The roughly 50 MB binary (12 MB with Brotli) is cached with Service Workers, and Chrome DevTools debugging and a custom wasm-memprof heap profiler make the tooling workable. The WebAssembly support is upstreamed as of Swift 6.2.

  • GSoC 2026 Showcase

    Swift.org easyNovice

    Swift's three Google Summer of Code 2026 projects all shipped. SourceKit-LSP now understands DocC, adding go-to-definition for symbol links, clickable preview links and Markdown highlighting in any LSP editor. The concurrency runtime gained an always-on task registry, sharded into 64 lists to avoid false sharing, that lldb and swift-inspect can query. In a 600,000-task stress test it added about 0.015s to a 0.37s run. swift-syntax's SwiftLexicalLookup module also gained qualified name lookup that resolves members through extensions and typealiases.

The quest for software engineering knowledge.

Look:
Layout: