[swift-evolution] Isolated and failable green threads?

Chris Lattner clattner at apple.com
Fri Jan 29 11:27:15 CST 2016


> On Jan 28, 2016, at 11:51 PM, Fabian Balslev Saers via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Hi Brent, Austin and Chris, thank you very much for your quick response,
> 
>> On 28 Jan 2016, at 09:31, Brent Royal-Gordon <brent at architechies.com <mailto:brent at architechies.com>> wrote:
>> Mainly, that concurrency is out of scope for Swift 3 (https://github.com/apple/swift-evolution/blob/master/README.md#out-of-scope <https://github.com/apple/swift-evolution/blob/master/README.md#out-of-scope>). Hang in there, though. :^)
> 
> 
> Thanks for clarifying, Brent.
> 
>> On 28 Jan 2016, at 09:36, Austin Zheng <austinzheng at gmail.com <mailto:austinzheng at gmail.com>> wrote:
>> No idea what validity this has now, if any, but there's an elegant model described in this document: https://github.com/apple/swift/blob/master/docs/proposals/Concurrency.rst <https://github.com/apple/swift/blob/master/docs/proposals/Concurrency.rst>.
> 
> Thank you soo much for the link, I had not seen this. I really like what I’m reading here. :-)
> 
>> On 28 Jan 2016, at 19:04, Chris Lattner via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> Yep: it is a well thought out approach, but it is also certainly not plan of record - it is just an idea - just like the other stuff in docs/proposals.
>> I expect concurrency to be a major focus for Swift 4, but we need to get Swift 3 done first. :-)
> 
> Absolutely
> 
> One part I didn’t understand from the proposal was this:
> “Notice that due to rdar://17144340 <rdar://17144340> we still can't mark Arrays and Optionals as copyable”
> Could someone explain that to me (I don’t think I have access to that radar)

This is a limitation in the generics system "Conditional conformances via constrained extensions”.  The goal is to get this implemented in Swift 3.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160129/5ac4eab0/attachment.html>


More information about the swift-evolution mailing list