The letter

One letter a week, starting soon.

The week's signal, what shipped, what is worth running tonight, and the editor's note. No tracking, no ads, nothing else.

We keep your address, your language and the date you joined, nothing else. Every letter has a one-click unsubscribe link that deletes the record.

Swift Forums announcements

25 stories

Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Add Issue Capturing & Test-Utility-specific module to Swift Testing Hello everyone, The Swift Testing Workgroup has been discussing this as a pre-pitch for ~1.5 months now.

11.03
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] `guard do ... catch`: local error handling with early-exit and bound variables Motivation It is a common pattern to have a throwing function whose result needs to be bound for use in the enclosing scope.

10.29
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Allowing Multiple Major Versions of a Package This pitch is based on some investigative and prototype work that I've developed over the last few months.

10.29
Swift Forums announcements

Swift Forums announcementsLanguagesPitch: Single-yield functions Hi everyone, This is a pitch to introduce single-yield functions to the language. Single-yield functions are declared by writing yield in the result position: func f() -> yield T // yields an owned…

10.28
Swift Forums announcements

Swift Forums announcementsLanguagesNoncopyable Existentials and Casting After talking with some people who were trying to use Noncopyable existentials for various purposes, I set out about a month ago to see what was possible here.

10.27

Swift Forums announcementsLanguages[Pitch#2] send and @oneway method calls This pitch supersedes what used to be a distributed-only feature, discussed over here: [Pitch] Distributed RemoteCall Semantics As we explored the design, we realized there is a bigger need in…

10.27

Swift Forums announcementsLanguagesSwift on the GPU With the increase in GPU capabilities and expectations, I started to think about the possibility of system level programming with Swift, specifically for the GPU. Something Similar to that of Mojo?

10.26
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Merge local and global mirror configuration Hi everyone! I want to make a change to how Swift handles local and global mirror configuration. Currently, if a project contains a local configuration file, any global configuration is ignored.

10.19
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Add `ends(with:)` to `BidirectionalCollection` Add ends(with:) to BidirectionalCollection Proposal: SE-NNNN Author: Mateus Rodrigues Introduction The standard library offers starts(with:) for checking whether a sequence begins with the elements…

10.19
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Custom metadata attributes for types, and runtime access to custom sections This revises my pitch from last week, Runtime enumeration of custom sections , after the feedback there: it says what I want and how I would want it to work, rather than what a library can do today…

10.18
Swift Forums announcements

Swift Forums announcementsLanguagesPitch: An opt-in warning for avoidable struct padding Swift lays out stored properties in declaration order, so a poorly ordered struct silently wastes memory and bandwidth. Nothing in the toolchain tells you where that happens.

10.17
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Add `sending` to the return type of `AsyncStream.Iterator.next()` Hi everyone! I wanted to pitch making the return values of AsyncStream.Interator.next() , AsyncStream.Continuation.yield(_:) , and their variants sending .

10.17
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Split continuation Hi everyone, Here is a pitch to make working with continuations easier and enable a more performant way to resume them in cases where the current execution context can be donated: [Concurrency]…

10.15
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Extending Build Tool Plugins for Customizing Targets This is a pitch based on work I've been doing this summer and posted about earlier. This focuses on extending the capabilities of build tool plugins and used to build external targets and new build…

10.14
Swift Forums announcements

Swift Forums announcementsLanguagesPitch: SwiftPM Optimization Settings Hello, The following is a short pitch to add some new manifest API for controlling optimization settings in packages: SwiftPM Optimization Settings Proposal: SE-NNNN Author: Owen Voorhees Status…

10.14
Swift Forums announcements

Swift Forums announcementsLanguages"Relaxed" floating-point operators Proposal here: Draft of relaxed floating-point operators. by stephentyrone · Pull Request #3545 · swiftlang/swift-evolution · GitHub Summary of changes Define operators on floating-point types that…

10.14
Swift Forums announcements

Swift Forums announcementsLanguagesGetting a span out of a String should not be this hard Currently to get a UnsafeBufferPointer or Span out of a String without requiring too high of a platforms requirement, you need code similar to the following for maximum performance…

10.13
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] List Swift Testing tags with swift test list --tags Hello everyone, swift test --filter tag: can already run Swift Testing tests by tag, but there is no way to see which tags a package uses.

10.13
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Runtime enumeration of custom sections SE-0492 gave libraries the writing half of binary-section placement and listed the reading half, "a unified runtime API for reading section contents across platforms and modules", as a future…

10.12
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Task cancellation scopes Hi everyone, @ktoso and I have written a pitch for what we call "task cancellation scopes". We have used these as an implementation detail of withDeadline but found multiple motivating use-cases that…

10.09
Swift Forums announcements

Swift Forums announcementsLanguages[Amend SE-0526] Clarify Deadline interactions with Cancellation Shields Hello everyone, While working on an upcoming proposal (task cancellation scopes) myself and @FranzBusch have realized another interaction of deadlines and cancellation shields we'd like to clarify…

10.09
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Change CChar32 to UInt32 Hello! I'd like to propose a change to CChar32 , Swift's C/C++ type alias for char32_t . char32_t can hold values that are not valid Unicode scalars, so importing it as Unicode.Scalar is unsound.

10.08
Swift Forums announcements

Swift Forums announcementsLanguages[pre-pitch] Nonisolated nonsending Clock protocol I'd like to pre-pitch updating the Clock protocol to have a nonisolated(nonsending) sleep, just to get people's first impression.

10.08
Swift Forums announcements

Swift Forums announcementsLanguages[Pitch] Attachments in the Swift Testing JSON event stream Attachments are a popular feature of Swift Testing (and XCTest on Apple's platforms). When a test saves an attachment, it should be recoverable later by whatever tool(s) is used to analyze the test…

10.08