Swift Forums announcements
25 stories
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch] Observable actors and actor snapshots This is a back-to-back follow-on from the [Pitch] Observation performance and modeling improvements post.
Swift Forums announcements
Swift Forums announcementsLanguages[Pre-Pitch] Pattern-Matching & Destructuring Projections There have been other struct/class/actor destructuring proposals, but I haven’t seen one like this pitched before. The idea is to allow projections that provide a tuple or enum view of the struct.
Swift Forums announcements
Swift Forums announcementsLanguagesTyped commands for Subprocess Hello Swift Evolution! This is a pitch for typed commands in swift-subprocess: describe a program's flags, options, and subcommands as Swift types instead of a path plus a string array.
Swift Forums announcements
Swift Forums announcementsLanguages[Pre-pitch] Mark array subscripts as `@unsafe` As we fix yet another security advisory caused by accessing an array out of bounds, I thought I'd open this can of worms again.
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch] Colocated Tests Hello Swift Testing enthusiasts! Since time immemorial, packages have required a separate test target. This adds an extra step whenever you want to add new tests or find relevant tests.
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch] Add test case information to the JSON event stream Hello all! I'm here with another (hopefully the last for a while) Swift Testing JSON schema proposal. Please give it a read and let me know what you think.
Swift Forums announcements
Swift Forums announcementsLanguagesTrusted Publishing in SwiftPM Trusted Publishing Support in SwiftPM Introduction Trusted publishing allows package authors to use short-lived scoped tokens to publish their package. The forge (e.g.
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch] Asynchronous access to pointers of spans Hi everyone, While working on some async I/O prototypes on top of io_uring I came across the need to access the pointers of spans in asynchronous context.
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch] InputSpan Hello! This is a new proposal for InputSpan , a new type that represent partially initialized memory in a layout converse to OutputSpan 's: with uninitialized memory first.
Swift Forums announcements
Swift Forums announcementsLanguagesSynchronous overload of `withTaskCancellationHandler` Some thirdparty libraries expose a way to signal cancellation of a synchronous computation (notably sqlite3).
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch] SwiftPM Plugin Support for Multi-Language Code Generation This pitch is part of the work to break up [Pitch] Extending Build Tool Plugins for Customizing Targets into consumable pieces.
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch #2] Unifying Package Products and Targets Hello, I'd like to share a revised proposal for unifying products and targets. The original pitch discussion can be found here .
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch] Direct-threaded interpreters in safe Swift Hi, I am wondering if there is any interest in this, I prototyped an extension to swift to support the construction of direct threaded interpreters in Swift.
Swift Forums announcements
Swift Forums announcementsLanguagesTarget environment conditions in package manifests Hi everyone, A short pitch inline with some of the recent pitches around extending the conditions in package manifests to support matching on the environment of the target triple.
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch] Auditing Package Dependencies for Known Vulnerabilities Hi all, This is a pitch for swift package audit , a SwiftPM subcommand that checks resolved dependencies against known security advisories, from OSV databases (osv.dev by default) and from package…
Swift Forums announcements
Swift Forums announcementsLanguagesConform Never to CustomStringConvertible Introduction Following the precedent set by proposals like SE-0215 (Equatable/Hashable) and the more recent adoption of Codable for Never , I would like to pitch adding CustomStringConvertible and…
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch #2] Called-once function types Hello Swift Evolution! This is the second pitch for a language feature that lets you annotate function types as executing exactly once or at most once: func callOnce(_ c: @once () -> Void) { c() c()…
Swift Forums announcements
Swift Forums announcementsLanguages[Pitch] Equatable and Hashable conformances for the span family Hello everyone, Span , MutableSpan and OutputSpan should conform to Equatable and Hashable when their Element does, and RawSpan , MutableRawSpan and OutputRawSpan should conform unconditionally.
Swift Forums announcements
Swift Forums announcementsLanguagesIdea: Add dropLast(while:) to BidirectionalCollection I often need to drop elements from the end of a sequence based on a condition (for example, trimming trailing whitespace or filtering out values).
Swift Forums announcements
Swift Forums announcementsLanguagesPitch: Back-deployment for fixed-layout value types - #3571 Hi all, @tshortli and I found a way to do back-deployment for a limited class of types, specifically, @frozen struct and enum types with a fixed layout.
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.
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.
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.
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…
Nothing matches this filter yet.