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 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. …[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
  3. 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
  4. 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
  5. …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
  6. …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...
  7. 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)
  8. Find the full proposal here: https://github.com/apple/swift-evolution/blob/main/proposals...
  9. …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
  10. 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
  11. …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++
  12. …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...
  13. …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...
  14. …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
  15. Perhaps this helps? https://github.com/apple/swift-evolution/blob/master/proposa... and this https://twitter.com/jckarter/status/1202260205074968578
  16. …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
  17. 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
  18. 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
  19. …} 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
  20. …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
  21. …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
  22. …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
  23. 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
  24. It’s part of Swift 5.2: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by saagarjha · 2019-06-03 · in SwiftUI
  25. …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
  26. …have a special syntax for defining automatically curried functions, but it was removed in Swift 3: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by plorkyeran · 2019-03-22 · in Swift UTF-8 String
  27. …you to the proposal, which explains the rationale behind the change better than I possibly could: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by saagarjha · 2019-02-06 · in Swift 5 Exclusivity Enforcement
  28. …Various initiatives (like the Python interop for TensorFlow) are pulling Swift in that direction: https://github.com/apple/swift-evolution/blob/master/proposa... https://github.com/apple/swift-evolution/blob/master/proposa...
  29. …runtime, are already in the language. Others, like dynamicCallable[1] are accepted proposals. [0] https://github.com/apple/swift-evolution/blob/master/proposa... [2] https://github.com/apple/swift-evolution/blob/master/proposa...
  30. …the link to "SE-0186 Remove ownership keyword support in protocols" is wrong, it should point to https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by mlex · 2018-03-29 · in Swift 4.1 Released
  31. …[4] https://talk.objc.io/episodes/S01E53-test-driven-reactive-pr... [5] https://github.com/apple/swift-evolution/blob/master/proposa... [6] https://lists.swift.org/pipermail/swift-evolution/Week-of-Mo... (download the attachment)
  32. The SEP makes it pretty clear: https://github.com/apple/swift-evolution/blob/master/proposa... Basically, they did not rename flatMap they renamed one specific overload : Sequence.flatMap<U>(_: (Element) -> U?) -> [U] or in Haskell…
    comment by masklinn · 2018-01-25 · in What's new in Swift 4.1
  33. …4, but an implementation was recently added to the master branch. You can read the details here: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by slavapestov · 2017-09-20 · in Swift 4.0 Released
  34. …implemented what looks like the Rust ownership model: SE-0176 Enforce Exclusive Access to Memory ( https://github.com/apple/swift-evolution/blob/master/proposa... ), but I'm having a hard time understanding the proposal, can anyone shed…
    comment by sinhpham · 2017-09-20 · in Swift 4.0 Released
  35. Here's an interesting post about the challenges of currying syntax in new languages: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by hellofunk · 2017-09-19 · in Currying vs. Partial Application (2015)
  36. …but these will go away for Swift 5, so you do still have to port anyway (just not immediately). [1] https://github.com/apple/swift-evolution/blob/master/proposa... [2] https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by _delirium · 2017-08-09 · in Swift 5: start your engines
  37. …with more affine type ideas to follow up on 4.x. EDIT: This feature is described by SE-0176. https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by pjmlp · 2017-06-14 · in Rust as a gateway drug to Haskell
  38. …for loops […] When I saw it, my reaction was ... WHY??? For all of these reasons, at least: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by chrisoverzero · 2017-06-03 · in Swift's Evolution
  39. …be lower with the appropriate tooling. [0] https://swift.org/blog/swift-4-0-release-process/ [1] https://github.com/apple/swift-evolution
    comment by drewcrawford · 2017-02-18 · in Swift Changes Considered Harmful
  40. …indecisive or pointless. A very clear rationale for removing the ++ operator was laid out here: https://github.com/apple/swift-evolution/blob/master/proposa... . While these changes may be painful now (though the removal of the ++ operator…
  41. …tp://stackoverflow.com/questions/1485841/behaviour-of-incr... Edit: a nice write up by Chris Lattner: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by Tempest1981 · 2016-12-02 · in Let’s Stop Bashing C
  42. …which has significant overhead and can prevent the optimizer from making other improvements." https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by fauigerzigerk · 2016-09-26 · in IBM says Swift is ready for the enterprise
  43. …https://bugs.swift.org/browse/SR-2603?jql=labels%20%3D%203.0... Flatten rename proposal: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by sswezey · 2016-09-14 · in Swift 3.0 Released
  44. Wow, they've basically renamed the entire Standard Library, see the changeset: https://github.com/apple/swift-evolution/blob/master/proposa... Not that I mind though. This kind of thing should be easy to auto refactor.
    comment by thomasahle · 2016-09-14 · in Swift 3.0 Released
  45. …development? An ongoing example of learning and growing a design is "Swift Evolution Process" https://github.com/apple/swift-evolution/blob/master/process...
    comment by ontouchstart · 2016-08-09 · in A Generation Lost in the Bazaar (2012)
  46. …4. https://swiftforwindows.codeplex.com/ Better cross platform support is a goal of Swift 3.0: https://github.com/apple/swift-evolution
    comment by clouddrover · 2016-08-04 · in Crystal: Fast as C, Slick as Ruby
  47. Because it is more complete in listing the changes, I'm not sure it fits the 'TL' part for you , but https://github.com/apple/swift-evolution has lists of - Implemented proposals for Swift 3 - Accepted proposals which do not have a…
    comment by Someone · 2016-06-20 · in What's New in Swift [video]
  48. There’s also a very nice overview of implemented proposals for Swift 3 on GitHub: https://github.com/apple/swift-evolution The Swift evolution process is a very pleasant surprise for me.
    comment by zoul · 2016-06-19 · in What's New in Swift [video]
  49. Details: https://github.com/apple/swift-evolution#implemented-proposa...
    comment by middleq · 2016-06-13 · in Swift 3
  50. …}) { // someView, someView.superview, someView.superview.superview, ... } Seems rather handy. [1]: https://github.com/apple/swift-evolution/blob/master/proposa...
    comment by Razengan · 2016-06-09 · in Swift: The joy of sequences