4 ms·
This proposal looks like it's from 2017 (there are more recent commits, but they are just typo fixes). It was briefly discussed here at the time: https://news.y
by _delirium 3y ago
This proposal looks like it's from 2017 (there are more recent commits, but they are just typo fixes). It was briefly discussed here at the time: https://news.ycombinator.com/item?id=13669001 https://news.ycombinator.com/item?id=13669001
Anybody familiar with Swift development have updates on whether it went anywhere and what the current state is? As someone not in this particular loop, not immediately clear to me why a 6-year-old proposal was linked here.
- conradev 3y agoSwift 5.9 dropped at WWDC, and with it came with noncopyable value types: https://github.com/apple/swift-evolution/blob/main/proposals/0390-noncopyable-structs-and-enums.md 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/proposals/0366-move-function.md https://github.com/apple/swift-evolution/blob/main/proposals... I haven’t read either in-depth, though!
- adamwk 3y agoJust last week owning and borrowing parameters got accepted as well. https://github.com/apple/swift-evolution/blob/main/proposals/0377-parameter-ownership-modifiers.md 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 feature before Swift 6
- Someone 3y agoThe best description I know is https://www.hackingwithswift.com/articles/258/whats-new-in-swift-5-9 https://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/0377-parameter-ownership-modifiers.md https://github.com/apple/swift-evolution/blob/main/proposals... https://github.com/apple/swift-evolution/blob/main/proposals/0366-move-function.md https://github.com/apple/swift-evolution/blob/main/proposals... https://github.com/apple/swift-evolution/blob/main/proposals/0390-noncopyable-structs-and-enums.md https://github.com/apple/swift-evolution/blob/main/proposals... The first is explicitly marked as “Implementation: Swift 5.9, without no-implicit-copy constraint”, but it seems the others also ¿partly? are in.
- dang 3y agoYear added above. Thanks!