GSoC 2026 Showcase
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.
Related posts
- Bringing Goodnotes to the web with Swift and WebAssembly
Swift.org mediumAdeptGoodnotes 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.
- Swift 6.4 Released
Swift.org mediumAdeptSwift 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.
- What's new in Swift: September 2026 Edition
Swift.org easyNoviceSwift 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 at Apple: Migrating the TrueType Hinting Interpreter
Swift.org mediumAdeptApple rewrote the TrueType font hinting bytecode interpreter from C to memory-safe Swift for its Fall 2025 OS releases. The new version renders pixel-identically and runs 13% faster on average. Correctness was checked with a unit suite at 99.7% coverage on both implementations and a fuzzer-minimized corpus of 4,200 PDFs containing 27 million glyphs, compared bitmap-for-bitmap against the C reference. Performance came from four changes: ~Copyable value types and Span to avoid ARC and exclusivity overhead, zero-copy projection types over the C structs instead of bridging copies that had cost ~20% of runtime, continuation-passing APIs to drop short-lived allocations, and inlining so generics get specialized. Only a few documented unsafe statements remain at the interop boundary, and the source has been published as a reference implementation.
- Swift 6.3 Released
Swift.org mediumAdeptSwift 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.