What is new in Swift from WWDC 25

Asked on 06/16/2025

2 searches

At WWDC 2025, several new features and improvements were introduced in Swift 6.2. Here are some of the highlights:

  1. Strict Memory Safety: A new feature in Swift 6.2 called Strict Memory Safety requires explicit acknowledgment of unsafe API usage in source code. This helps identify parts of the code that need extra security attention. What’s new in Swift

  2. Inline Arrays: Swift 6.2 introduces inline arrays, allowing arrays with a fixed size to be stored on the stack or directly inside other types without using heap memory. This enables significant performance optimizations. Platforms State of the Union

  3. Span Type: A new span type provides a safe alternative to pointers for fast direct access to contiguous memory, improving communication with unsafe languages like C. Platforms State of the Union

  4. Concurrency Improvements: Swift 6.2 makes concurrency more approachable, with features that help achieve peak performance. It also introduces a new language mode designed to make concurrent code safer. What’s new in Swift

  5. Embedded Swift: Swift 6.2 expands Embedded Swift, a subset of Swift for writing code targeting constrained environments like firmware for embedded devices. What’s new in Swift

  6. Development Workflow Enhancements: Improvements to development workflows, including writing, building, and debugging, are part of Swift 6.2. The Swift extension in VS Code is now officially verified and distributed by Swift.org. What’s new in Swift

These updates aim to enhance performance, safety, and ease of use for Swift developers across various platforms and environments.