Skip to content
Tech News
← Back to articles

Swift 6.4 Released

read original more articles
Why This Matters

Swift 6.4 expands the language's reach beyond app development into servers, embedded systems, and the browser, while unifying build tooling across platforms via Swift Build. For developers, this means better interoperability with C++ and Java, faster WebAssembly performance, and improved memory-safe performance—making Swift a more viable choice for a wider range of computing environments.

Key Takeaways

Swift 6.4 is now available. Swift aims to be a great choice across the stack, from apps and servers to systems code, embedded devices, and the browser. This release deepens that support, and makes everyday code easier to write. Highlights include:

Swift Build is now the default in Swift Package Manager , so your projects build the same way on Linux, macOS, and Windows.

, so your projects build the same way on Linux, macOS, and Windows. Subprocess reaches 1.0 , a stable, cross-platform way to run and interact with other programs from Swift, from command-line tools to streaming processes.

, a stable, cross-platform way to run and interact with other programs from Swift, from command-line tools to streaming processes. Interoperability reaches further , with Swift’s Span now bridging directly with C++20’s std::span , and Swift/Java interop extending its async and callback support.

, with Swift’s now bridging directly with C++20’s , and Swift/Java interop extending its async and callback support. Swift runs faster in the browser , with WebAssembly bridging through JavaScriptKit up to 40 times faster, and the Wasm SDK available directly from Swift.org.

, with WebAssembly bridging through JavaScriptKit up to 40 times faster, and the Wasm SDK available directly from Swift.org. Embedded Swift grows more capable , with support for existential types and richer error handling for microcontroller-class targets.

, with support for existential types and richer error handling for microcontroller-class targets. Performance improves while maintaining memory safety, with new array types that hold non-copyable elements without copy-on-write overhead, and the new Iterable protocol for iterating without copies.

There’s so much more. Read on for a detailed guide to the new changes, or see the Swift Evolution dashboard for the full list of proposals in Swift 6.4.

Simpler and clearer code

Swift 6.4 streamlines your day-to-day programming to make your code simpler and clearer.

... continue reading