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. Swift 5.9 dropped at WWDC, and with it came with noncopyable value types: https://github.com/apple/swift-evolution/blob/main/proposals... as well as a way to explicitly move types: https://github.com/apple/swift-evolution/blob/main/proposal…
  2. ▲ 27
    Function Back Deployment
    story by luu · 2023-06-06 · 8 comments
  3. …out how to backport async/await, it's just impossible to use in a serious library otherwise. [0] https://github.com/apple/swift-evolution/blob/main/proposals...
    comment by plagiarist · 2023-06-06 · in SwiftData
  4. …), but got rid of it when it removed C-style for loops altogether in Swift 3 (September 2016) ( https://github.com/apple/swift-evolution/blob/main/proposals... )
  5. ▲ 6
    Swift-evolution/0382: Expression Macros
    story by todsacerdoti · 2023-04-09 · 1 comment
  6. …necessary. If those issues can be fixed, the language can become easier to write. An example is https://github.com/apple/swift-evolution/blob/main/proposals... . As to that if , I wouldn’t know whether that holds. For example,…
    comment by Someone · 2023-03-25 · in How big should a programming language be?
  7. ▲ 3
    Swift Evolution-0393: Value and Type Parameter Packs
    story by ingve · 2023-03-24 · 0 comments
  8. …writers to make this optimization. Swift even chose to remove for loops that step a variable ( https://github.com/apple/swift-evolution/blob/main/proposals... ), and I don’t think Rust has them, either. I think that’s the right decision.…
  9. https://github.com/apple/swift-evolution/blob/main/proposals...
  10. …and the package manager does so by default when targeting Linux since the acceptance of SE-0342: https://github.com/apple/swift-evolution/blob/main/proposals...
  11. …re-renders, but the implementation is non-trivial due to an undocumented feature in Swift [0]. [0] https://github.com/apple/swift-evolution/blob/main/proposals...
    comment by fingerlocks · 2022-11-28 · in SwiftUI Is Convenient, but Slow
  12. …explains the motivation for it: https://elizarov.medium.com/structured-concurrency-722d765aa... https://github.com/apple/swift-evolution/blob/main/proposals...
    comment by didibus · 2022-09-21 · in JDK 19 Release Notes
  13. ▲ 98
    Swift Proposal: Move Function
    story by todsacerdoti · 2022-07-28 · 99 comments
  14. …Swift has short literals, and (AFAIK) you can mix and match the DSL and the short literals. https://github.com/apple/swift-evolution/blob/main/proposals... gives this example: // A regex for extracting a currency (dollars or pounds) and…
  15. …Or are they trying to push more the language in general? I can find a bit more information here ( https://github.com/apple/swift-evolution/blob/main/proposals... ): > With distributed actors, we acknowledge that the world we live in is…
    comment by Zababa · 2022-06-09 · in Distributed Actors in Swift
  16. Also https://github.com/apple/swift-evolution/blob/main/proposals...
    comment by b3morales · 2022-06-07 · in Regex Literals in Swift
  17. …control flow that prevents some kinds of bugs. That's why Swift added it before concurrency: https://github.com/apple/swift-evolution/blob/main/proposals... Some languages have async/await sugar built around futures instead; this is a…
  18. Swift has placeholder types as of 5.6, more about them here: https://github.com/apple/swift-evolution/blob/main/proposals... I mainly use Swift these days but I haven't had a need for them yet so was asking out of curiosity.
    comment by andrewjl · 2022-05-18 · in Golang Diaries: Generics
  19. …[2]: https://vorpus.org/blog/notes-on-structured-concurrency-or-g... [3]: https://github.com/apple/swift-evolution/blob/main/proposals...
    comment by ghoward · 2022-03-20 · in Structured Concurrency
  20. Swift solved this problems with [non-exhaustive enums]( https://github.com/apple/swift-evolution/blob/main/proposals... ).
    comment by amw-zero · 2022-02-04 · in What I'd like to see in Go 2.0
  21. Details: https://github.com/apple/swift-evolution/blob/main/proposals... There were plenty of alternative ways to accomplish my scenario but they ended up being pretty clunky and overly expressive for what I was trying to do at the time.…
    comment by logbiscuitswave · 2021-12-20 · in Apple’s use of Swift and SwiftUI in iOS 15
  22. …in the Swift on server space: - the proposal for distributed actors is currently in-review ( https://github.com/apple/swift-evolution/blob/main/proposals... ) - a metrics API for backends like Graphite, Prometheus, etc. (…
    comment by favorited · 2021-12-15 · in Swift Playgrounds 4
  23. …and `throws` function annotations and/or make those default, and all noise will be removed! [1] https://github.com/apple/swift-evolution/blob/main/proposals...
  24. https://github.com/apple/swift-evolution/blob/main/proposals... , if accepted, should make most of this type of ceremony unnecessary.
    comment by georgelyon · 2021-04-28 · in Approaches to Type Erasure in Swift (2020)
  25. Find the full proposal here: https://github.com/apple/swift-evolution/blob/main/proposals...
  26. ▲ 3
    Swift Evolution: Actors proposal is accepted with modification
    story by antfarm · 2021-04-25 · 1 comment
  27. …functions being reentrant seems like a huge opportunity for bugs, because it is not obvious at all: https://github.com/apple/swift-evolution/blob/main/proposals...
    comment by legulere · 2021-03-19 · in Swift Evolution: Actors
  28. I think that you are correct. There is a paragraph on actor's reentrancy: https://github.com/apple/swift-evolution/blob/main/proposals... which points out that you can definitely get balance before await, therefore, have fluctuated total.
    comment by liuliu · 2021-03-16 · in Swift Evolution: Actors
  29. ▲ 264
    Swift Evolution: Actors
    story by mpweiher · 2021-03-16 · 154 comments
  30. ▲ 1
    Swift-evolution SE-0306: Actors
    story by ingve · 2021-03-15 · 0 comments
  31. ▲ 3
    Actors
    story by todsacerdoti · 2021-03-10 · 0 comments
  32. ▲ 6
    Swift: Async/Await
    story by tosh · 2020-12-04 · 0 comments
  33. …but I firmly think that they should have taked the time to produce a better design. [0]: https://github.com/apple/swift-evolution/blob/main/proposals...
    comment by pcr910303 · 2020-10-17 · in Interoperability Between Swift and C++
  34. …that they hope to remove at some point. Edit: Also the current version of the proposal is here: https://github.com/apple/swift-evolution/blob/master/proposa...
  35. …around these function builders is frustrating. The best I could find was a draft proposal [1]. [1]: https://github.com/apple/swift-evolution/blob/9992cf3c11c2d5...
  36. ▲ 1
    Multiple Trailing Closures in Swift
    story by jshier · 2020-05-04 · 0 comments
  37. …cause there are a lot of misunderstanding my post on top. Swift have built in simd same about Rust https://github.com/apple/swift-evolution/blob/master/proposa... Nim have arraymancer https://github.com/mratsim/Arraymancer @inbounds it is…
    comment by komuher · 2020-03-22 · in Julia 1.4
  38. Perhaps this helps? https://github.com/apple/swift-evolution/blob/master/proposa... and this https://twitter.com/jckarter/status/1202260205074968578
  39. …in the right direction, but it'll be a lot more convincing when the a release shows that. [1] https://github.com/apple/swift-evolution/blob/master/proposa... [2] https://forums.swift.org/t/it-should-be-possible-to-generate... [3]…
    comment by joshuawright11 · 2020-02-06 · in What’s New in Swift 5.2
  40. Well, what is a good example? The proposal doesn't seem to have one. https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by jmull · 2020-02-06 · in What’s New in Swift 5.2
  41. You can read the motivation in the evolution proposal: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by jshier · 2020-02-06 · in What’s New in Swift 5.2
  42. …} else { Text("\(count)") } would result in a type something like `Conditional<EmptyView, Text>`. https://github.com/apple/swift-evolution/blob/9992cf3c11c2d5...
    comment by favorited · 2019-11-06 · in Static Types in SwiftUI
  43. …is the only supported client at this point), but it supports that general kind of transformation. https://github.com/apple/swift-evolution/blob/9992cf3c11c2d5...
    comment by favorited · 2019-11-06 · in Static Types in SwiftUI
  44. …just need a value assigned, like so: let strings: some Collection = ["hello", "world"] [0] https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by favorited · 2019-11-06 · in Static Types in SwiftUI
  45. …to have X. Alejandro (in high-school at the time) thought exactly that and implemented it himself - https://github.com/apple/swift-evolution/blob/master/proposa... You could almost argue the real feature here is how open the community is…
    comment by andrewbarba · 2019-09-22 · in Small but significant improvements in Swift 5.1
  46. Single-expression functions can now return a value without the “return” keyword: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by saagarjha · 2019-06-03 · in SwiftUI
  47. It’s part of Swift 5.2: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by saagarjha · 2019-06-03 · in SwiftUI
  48. ▲ 2
    Swift Proposal: Approximate Equality for Floating Point
    story by lelf · 2019-05-17 · 0 comments
  49. ▲ 3
    Adding IsMultiple to BinaryInteger
    story by luu · 2019-04-24 · 0 comments
  50. …user want is the one other languages have. Or this is just Blub Paradox[2] in real life. [1]: https://github.com/apple/swift-evolution/blob/master/proposa... [2]: http://www.paulgraham.com/avg.html edit: grammar
    comment by johnlinvc · 2019-04-03 · in Ruby's Creed