Back to Home

Swift 6.3: build and new SE proposals

Swift 6.3 introduces Swift Build in SPM for unified build. Approved SE-0509 for SBOM, ST-0021 for tests and SE-0515 for reduce. Considering SE-0522 with @warn. Overview of videos and cases on Vapor, Jetson.

New era of build in Swift 6.3 and SE proposals
Advertisement 728x90

Swift 6.3: New Build System and Language Evolution in March 2026

Swift 6.3 introduces the integration of Swift Build into Swift Package Manager, ensuring a consistent build process across all platforms. The Core Build team, led by Owen Voorhees, tested thousands of open-source packages from swiftpackageindex.com. Developers can now enable this system using compiler flags. The main Swift branch has switched to Swift Build by default, simplifying cross-platform development on Linux and Windows.

Video Resources on Systems Swift

Recent talks and podcasts highlight Swift's application in specialized areas:

  • Talk on "Containerization" at SCaLE about implementing Swift in containerization.
  • Swift Community Meetup: real-time computer vision on NVIDIA Jetson and AI data pipelines with Vapor.
  • Interview with Matt Massicotte on Swift Academy about parallel processing.

These resources are valuable for mid-level and senior developers working with systems programming and performance.

Google AdInline article slot

Practical Use Cases and Releases

Point-Free describes API migration using SwiftPM Traits: "hard" deprecation blocks usage, "soft" deprecation issues warnings. Daniel Gillg on the Swift blog showcases TelemetryDeck on Vapor for server-side telemetry. The JavaScriptKit release improves BridgeJS, while WasmKit advances Swift on WebAssembly.

Language Evolution Proposals

The Swift team is reviewing and approving proposals to enhance flexibility.

Under Review

SE-0522 introduces the @warn attribute for granular control over compiler warnings. Capabilities include:

Google AdInline article slot
  • Elevating a warning to an error.
  • Downgrading to a warning.
  • Completely disabling for a specific code block without affecting the module.

This addresses the "all or nothing" issue with -warnings-as-errors flags.

Approved Proposals

  • SE-0509: SBOM generation in SwiftPM.

- --sbom-spec flag for swift build.

- swift package generate-sbom command with CycloneDX and SPDX formats.

Google AdInline article slot

Suitable for compliance and security audits.

  • ST-0021: Compatibility between Swift Testing and XCTest.

- XCTAssert works in Swift Testing without ignoring.

- Swift Testing APIs are called in XCTest if no equivalent exists.

  • SE-0515: reduce for non-copyable types.

- Support for non-copyable initial values and results.

- A non-borrowing variant to avoid copies even with Copyable types.

These changes expand Swift's applicability in high-performance scenarios.

Key Takeaways

  • Swift Build integrates into SPM, tested on thousands of packages for cross-platform compatibility.
  • SE-0522 adds @warn for precise control over compiler diagnostics.
  • SBOM in SwiftPM (SE-0509) simplifies security audits with CycloneDX/SPDX.
  • Testing/XCTest compatibility (ST-0021) and non-copyable reduce (SE-0515) enhance test and algorithm flexibility.
  • Active work on Wasm and containerization expands the ecosystem.

— Editorial Team

Advertisement 728x90

Read Next