swiftlang/swift-evolution
View on GitHub ↗ ★ 15,880 Markdown
This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
154 mentions on Hacker News by 105 people: 41 stories, 113 comments · first 2015-12-03 · latest 2026-07-10
20082026
-
…generate it with std::views::enumerate. That’s why Swift completely removed that kind of for loop ( https://github.com/swiftlang/swift-evolution/blob/main/propo... ) > This stuff compiles to broadly the same assembly. At the cost of…
comment by Someone · 2026-07-10 · in Almost Always Unsigned -
…interface, in addition to the usual string-ey interface that allows composition. [1]: https://github.com/swiftlang/swift-evolution/blob/main/propo... [2]: https://developer.apple.com/documentation/regexbuilder
comment by woadwarrior01 · 2026-06-28 · in Regular expressions that work “everywhere” -
>[1] https://github.com/swiftlang/swift-evolution/blob/main/propo ... -- apologies to the authors, but even as a previous C++ guy, my brain twisted at that. Inside Swift is a slim language waiting to get out... and that slim language is…
comment by anextio · 2026-03-02 · in Why Objective-C -
…its recommended language. (There's a decent argument it encountered it in iOS and macOS too.) [1] https://github.com/swiftlang/swift-evolution/blob/main/propo... -- apologies to the authors, but even as a previous C++ guy, my brain twisted…
comment by vintagedave · 2026-03-02 · in Why Objective-C -
https://github.com/swiftlang/swift-evolution/blob/main/propo... https://github.com/swiftlang/swift-evolution/blob/main/propo... https://github.com/swiftlang/swift-evolution/blob/main/propo... https://github.com/swiftlang/swift-evolution/blo…
comment by hn-acct · 2026-02-01 · in Swift is a more convenient Rust (2023) -
▲ 1
Swift: Nonexhaustive Enumsstory by tambourine_man · 2025-12-19 · 0 comments
-
…not believe that regular Swift is suitable. Meaning that you're undeniably completely wrong. [0]: https://github.com/swiftlang/swift-evolution/blob/main/visio...
comment by gjajric2 · 2025-12-10 · in Rust in the kernel is no longer experimental -
Swift gained limited support for “typed throws” in Swift 6.0 (2024). https://github.com/swiftlang/swift-evolution/blob/main/propo... I say limited because the compiler doesn't (yet, as of 6.2) perform typed throw inference for closures (a…
comment by mayoff · 2025-11-12 · in Problems with C++ exceptions -
…than full native applications (although that's certainly a goal, albeit a very long term one). [1]: https://github.com/swiftlang/swift-evolution/pull/2946/files
comment by objclxt · 2025-10-24 · in The Swift SDK for Android -
▲ 5
Opt-In Strict Memory Safety Checking in Swift 6.2story by todsacerdoti · 2025-09-05 · 0 comments
-
They are actually working on that now with approchable concurrency[1]. [1] https://github.com/swiftlang/swift-evolution/blob/main/visio...
comment by frizlab · 2025-09-01 · in Isolated(any) -
…and maybe that can serve as a foundation for getting to the same level of interop for Obj-C. [1]: https://github.com/swiftlang/swift-evolution/blob/main/propo... [2]: https://www.swift.org/documentation/cxx-interop/
comment by andrewjl · 2025-09-01 · in CocoaPods trunk read-only plan -
…life hack: for new language features, copy-pasting the Swift Evolution proposal works pretty well! https://github.com/swiftlang/swift-evolution/tree/main/propo...
comment by _mattt · 2025-08-29 · in Show HN: Sosumi.ai – Convert Apple Developer docs to AI-readable Markdown -
…interested Yet they are adding lifetime dependency annotations to Swift, making it more like Rust: https://github.com/swiftlang/swift-evolution/blob/ef71df4158... The reason for this is that static analysis simply cannot do it when the…
comment by anextio · 2025-06-28 · in Rust in the Linux kernel: part 2 -
There’s a section in the proposal about this: https://github.com/swiftlang/swift-evolution/blob/main/propo... Tl;dr: Sequence and Collection are incompatible with noncopyable types and conditionally conforming when elements are copyable…
comment by adamwk · 2025-05-10 · in What’s new in Swift 6.2 -
…feature to getting it implemented and shipped is out in the open for everyone to participate/see. https://github.com/swiftlang/swift-evolution
comment by rcruzeiro · 2025-05-10 · in What’s new in Swift 6.2 -
…at Apple, like iBoot firmware. https://support.apple.com/en-jo/guide/security/sec30d8d9ec1/... https://github.com/swiftlang/swift-evolution/blob/main/visio... Once upon a time, C compilers were quite lousy versus handwritten 8 and 16 bit…
comment by pjmlp · 2025-04-07 · in Apple’s Darwin OS and XNU Kernel Deep Dive -
…Swift dropped C-style for loops only 10 years ago (10 years isn’t long in language design time) ( https://github.com/swiftlang/swift-evolution/blob/main/propo... ), and there still is the difference between pascal for loops, where the…
comment by Someone · 2025-03-18 · in I don't think error handling is a solved problem in language design -
▲ 3
Swift Evolution: Improving the approachability of data-race safetystory by SoKamil · 2025-02-25 · 0 comments
-
▲ 3
Swift proposal: InlineArray, a fixed-size arraystory by ingve · 2025-02-17 · 0 comments
-
Swift does that. https://github.com/swiftlang/swift-evolution/blob/main/propo...
comment by mayoff · 2025-02-01 · in In Zig, what's a writer? -
▲ 1
Swift-Evolution: Opt-In Strict Memory Safety Checkingstory by ksec · 2025-01-24 · 0 comments
-
▲ 2
A Vision for Embedded Swiftstory by nateb2022 · 2024-12-27 · 0 comments
-
▲ 1
Swift: Precise Control Flags over Compiler Warningsstory by ingve · 2024-12-06 · 0 comments
-
…how Swift Structured Concurrency (Task API) utilizes and propagates QoS is in the proposal doc. https://github.com/swiftlang/swift-evolution/blob/main/propo...
comment by eunoia · 2024-11-29 · in Prioritize work at the task level -
…Swift code, to write subclasses of C++ classes in Swift, etc. without giving up performance. See https://github.com/swiftlang/swift-evolution/blob/main/visio... and the video linked to in https://forums.swift.org/t/video-swift-as-c-successo…
comment by Someone · 2024-11-14 · in Safe and efficient C++ interoperability via non-escapable types and lifetimes -
▲ 1
Integer Generic Parametersstory by todsacerdoti · 2024-08-28 · 0 comments
-
…allows one to create a lifetime dependency between a function's return value and its parameters: https://github.com/apple/swift-evolution/blob/d9aa90bae13e35...
comment by adamwk · 2024-06-10 · in Deep Dive into Ownership in Mojo -
▲ 2
Objective-C Implementations in Swiftstory by ingve · 2024-05-10 · 0 comments
-
▲ 3
Objective-C Implementations in Swiftstory by todsacerdoti · 2024-05-09 · 0 comments
-
…how well those paths are supported. 0. https://github.com/apple/swift/blob/main/CHANGELOG.md 1. https://github.com/apple/swift-evolution/blob/main/proposals... 2. https://github.com/apple/swift-package-manager/pull/3905
comment by pdpi · 2024-05-06 · in Swift's native Clocks are inefficient -
…We're building a roadmap now and would love to make sure our work items are comprehensive. [1] https://github.com/apple/swift-evolution/blob/main/visions/e... [2] https://www.swift.org/blog/sswg-update-2024/ [3]…
comment by timsneath · 2024-04-15 · in Swift for C++ Practitioners, Part 1: Intro and Value Types -
That is the direction that Swift went: https://github.com/apple/swift-evolution/blob/main/proposals...
comment by conradev · 2024-03-31 · in Overview: What are Cpp2 and cppfront? How do I get and build cppfront? -
A Vision for Embedded Swift ( https://github.com/apple/swift-evolution/blob/main/visions/e... ) has the details on this new build mode and is quite interesting. Effectively, there will be two bottom layers of Swift, and the lower one,…
comment by glhaynes · 2024-03-12 · in Byte-Sized Swift: Building Tiny Games for the Playdate -
Detailed rationale is in the Swift Evolution proposal ( https://github.com/apple/swift-evolution/blob/main/proposals... ) This also isn’t a problem specific to Swift. Many strongly typed languages run into it. Examples: - C# (…
comment by Someone · 2024-03-08 · in Iterate over Parameter Packs in Swift 6.0 -
…They're not in the type system formally so maybe they're closer to poloneius work [1]: https://github.com/apple/swift-evolution/blob/3055becc53a3c3...
comment by adamwk · 2024-03-04 · in Borrow checking without lifetimes -
…approach for safe concurrency that builds on Milano et al’s ideas (shared co-author as well): https://github.com/apple/swift-evolution/blob/main/proposals...
comment by riscy · 2024-03-01 · in Functional ownership through fractional uniqueness -
…aren’t going away but Apple is trying to evolve the language to cater to various performance needs. https://github.com/apple/swift-evolution/blob/main/proposals...
comment by adamwk · 2024-01-13 · in Apple hiring compiler developers for improving Swift / C++ interoperability -
▲ 2
The Swift proposal that removed the ++ and –- operators (2017)story by flykespice · 2023-11-07 · 1 comment
-
…time. Not to mention recently added support for non-copyable types that enforces unique ownership: https://github.com/apple/swift-evolution/blob/main/proposals...
comment by daaaaaaan · 2023-10-03 · in Crafting Self-Evident Code with D -
…addTwo = add(2) addTwo(3) That functionality was removed, though. For reasoning behind that, see https://github.com/apple/swift-evolution/blob/main/proposals... .
comment by Someone · 2023-09-03 · in Currying in Kotlin -
▲ 4
Statically link Swift runtime libraries by default on supported platformsstory by dcgudeman · 2023-08-31 · 0 comments
-
…a language that doesn’t have indexes at all would be viable. Swift abandoned C-style for loops ( https://github.com/apple/swift-evolution/blob/main/proposals... ) It still has enumerated ( https://developer.apple.com/documentation/swift/seq…
comment by Someone · 2023-06-10 · in Ask HN: Can Lua be remade to use 0-based numbering? -
▲ 1
Using C++ from Swift: The Vision Documentstory by goranmoomin · 2023-06-10 · 0 comments
-
…their name). It’s not just a SwiftUI thing, they’re also used for regular expressions for example: https://github.com/apple/swift-evolution/blob/main/proposals...
comment by slavapestov · 2023-06-07 · in Ownership in Swift: Manifesto and meta-proposal (2017) -
…type, and when this happens currently there are no solutions; There's now a warning about this: https://github.com/apple/swift-evolution/blob/main/proposals... . What other solutions can there be other than making it a hard error? It seems…
comment by slavapestov · 2023-06-06 · in Ownership in Swift: Manifesto and meta-proposal (2017) -
Just last week owning and borrowing parameters got accepted as well. https://github.com/apple/swift-evolution/blob/main/proposals... It’s been the focus for a while especially after the concurrency work. It’s probably the final major…
comment by adamwk · 2023-06-06 · in Ownership in Swift: Manifesto and meta-proposal (2017) -
…www.hackingwithswift.com/articles/258/whats-new-in-s... , which refers to a few Swift Evolution docs: https://github.com/apple/swift-evolution/blob/main/proposals... https://github.com/apple/swift-evolution/blob/main/proposals...…
comment by Someone · 2023-06-06 · in Ownership in Swift: Manifesto and meta-proposal (2017)