Hacker GitHub

← All repos

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

Mentions per year 154 mentions · busiest year 2016 (24)
20082026
  1. …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
  2. …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”
  3. >[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
  4. …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
  5. 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)
  6. ▲ 1
    Swift: Nonexhaustive Enums
    story by tambourine_man · 2025-12-19 · 0 comments
  7. …not believe that regular Swift is suitable. Meaning that you're undeniably completely wrong. [0]: https://github.com/swiftlang/swift-evolution/blob/main/visio...
  8. 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
  9. …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
  10. ▲ 5
    Opt-In Strict Memory Safety Checking in Swift 6.2
    story by todsacerdoti · 2025-09-05 · 0 comments
  11. 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)
  12. …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
  13. …life hack: for new language features, copy-pasting the Swift Evolution proposal works pretty well! https://github.com/swiftlang/swift-evolution/tree/main/propo...
  14. …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
  15. 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
  16. …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
  17. …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…
  18. …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…
  19. ▲ 3
    Swift Evolution: Improving the approachability of data-race safety
    story by SoKamil · 2025-02-25 · 0 comments
  20. ▲ 3
    Swift proposal: InlineArray, a fixed-size array
    story by ingve · 2025-02-17 · 0 comments
  21. 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?
  22. ▲ 1
    Swift-Evolution: Opt-In Strict Memory Safety Checking
    story by ksec · 2025-01-24 · 0 comments
  23. ▲ 2
    A Vision for Embedded Swift
    story by nateb2022 · 2024-12-27 · 0 comments
  24. ▲ 1
    Swift: Precise Control Flags over Compiler Warnings
    story by ingve · 2024-12-06 · 0 comments
  25. …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
  26. …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…
  27. …I hadn’t read this before, and it changes how I’ll approach them. Thanks for pointing it out! https://github.com/swiftlang/swift-evolution/blob/main/propo...
    comment by brantonb · 2024-09-17 · in Swift 6
  28. You can read about the trade-offs in the language proposal here: https://github.com/swiftlang/swift-evolution/blob/main/propo... In particular: > Even with the introduction of typed throws into Swift, the existing (untyped) throws remains…
    comment by airspeedswift · 2024-09-17 · in Swift 6
  29. ▲ 1
    Integer Generic Parameters
    story by todsacerdoti · 2024-08-28 · 0 comments
  30. …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
  31. ▲ 2
    Objective-C Implementations in Swift
    story by ingve · 2024-05-10 · 0 comments
  32. ▲ 3
    Objective-C Implementations in Swift
    story by todsacerdoti · 2024-05-09 · 0 comments
  33. …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
  34. …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]…
  35. That is the direction that Swift went: https://github.com/apple/swift-evolution/blob/main/proposals...
  36. 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,…
  37. 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
  38. …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
  39. …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...
  40. …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...
  41. ▲ 2
    The Swift proposal that removed the ++ and –- operators (2017)
    story by flykespice · 2023-11-07 · 1 comment
  42. …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
  43. …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
  44. ▲ 4
    Statically link Swift runtime libraries by default on supported platforms
    story by dcgudeman · 2023-08-31 · 0 comments
  45. …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…
  46. ▲ 1
    Using C++ from Swift: The Vision Document
    story by goranmoomin · 2023-06-10 · 0 comments
  47. …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...
  48. …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…
  49. 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…
  50. …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...…