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
-
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…
comment by conradev · 2023-06-06 · in Ownership in Swift: Manifesto and meta-proposal (2017) -
▲ 27
Function Back Deploymentstory by luu · 2023-06-06 · 8 comments
-
…), 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... )
comment by Someone · 2023-05-10 · in Since Go 1.22, loop {for I, p:= 0, new(int); p = &I; {p = &I}} might never exit -
▲ 6
Swift-evolution/0382: Expression Macrosstory by todsacerdoti · 2023-04-09 · 1 comment
-
…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? -
▲ 3
Swift Evolution-0393: Value and Type Parameter Packsstory by ingve · 2023-03-24 · 0 comments
-
…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.…
comment by Someone · 2023-02-21 · in Low-Level Software Security for Compiler Developers -
https://github.com/apple/swift-evolution/blob/main/proposals...
comment by jupp0r · 2023-01-12 · in Apple announces full Swift rewrite of the Foundation framework (2022) -
…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...
comment by stephencanon · 2023-01-12 · in Apple announces full Swift rewrite of the Foundation framework (2022) -
…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 -
…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 -
▲ 98
Swift Proposal: Move Functionstory by todsacerdoti · 2022-07-28 · 99 comments
-
…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…
comment by Someone · 2022-06-10 · in Rulex – A new, portable, regular expression language -
…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 -
Also https://github.com/apple/swift-evolution/blob/main/proposals...
comment by b3morales · 2022-06-07 · in Regex Literals in Swift -
…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…
comment by astrange · 2022-05-31 · in Lunatic brings Erlang's principles to WebAssembly -
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 -
…[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 -
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 -
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 -
…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 -
…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...
comment by tomp · 2021-08-27 · in On the proliferation of try, and soon, await (2020) -
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) -
Find the full proposal here: https://github.com/apple/swift-evolution/blob/main/proposals...
comment by antfarm · 2021-04-25 · in Swift Evolution: Actors proposal is accepted with modification -
▲ 3
Swift Evolution: Actors proposal is accepted with modificationstory by antfarm · 2021-04-25 · 1 comment
-
…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 -
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 -
▲ 264
Swift Evolution: Actorsstory by mpweiher · 2021-03-16 · 154 comments
-
▲ 1
Swift-evolution SE-0306: Actorsstory by ingve · 2021-03-15 · 0 comments
-
▲ 3
Actorsstory by todsacerdoti · 2021-03-10 · 0 comments
-
▲ 6
Swift: Async/Awaitstory by tosh · 2020-12-04 · 0 comments
-
…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++ -
…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...
comment by wilg · 2020-09-25 · in A deep dive into Swift’s function builders -
…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...
comment by jgauth · 2020-09-25 · in A deep dive into Swift’s function builders -
▲ 1
Multiple Trailing Closures in Swiftstory by jshier · 2020-05-04 · 0 comments
-
Perhaps this helps? https://github.com/apple/swift-evolution/blob/master/proposa... and this https://twitter.com/jckarter/status/1202260205074968578
comment by byt143 · 2020-02-10 · in JuliaLang: The Ingredients for a Composable Programming Language -
…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 -
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 -
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 -
…} 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 -
…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 -
…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 -
…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 -
▲ 2
Swift Proposal: Approximate Equality for Floating Pointstory by lelf · 2019-05-17 · 0 comments
-
▲ 3
Adding IsMultiple to BinaryIntegerstory by luu · 2019-04-24 · 0 comments
-
…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