<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">No idea what validity this has now, if any, but there's an elegant model described in this document:&nbsp;<a href="https://github.com/apple/swift/blob/master/docs/proposals/Concurrency.rst" class="">https://github.com/apple/swift/blob/master/docs/proposals/Concurrency.rst</a>.<div class=""><br class=""></div><div class="">Austin<br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 28, 2016, at 12:31 AM, Brent Royal-Gordon via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><blockquote type="cite" class="">There are two concepts from Erlang that I really like:<br class="">- threads are very light-weight ([green threads][0]), and memory cannot be accessed accross threads (isolated threads)<br class="">- when a thread dies, the entire app doesn't crash, but the nearest [supervisor][1] cleans up and can re-launch a new thread<br class=""><br class="">Applying this to apps written in Swift, I would expect would lead to<br class="">- fewer app crashes<br class="">- developers become more likely to architecture their app by using the [actor model][2]<br class=""><br class="">I am sure these ideas are not new here, but I couldn't find a discussion on it by searching the archive. What are your thoughts on bringing isolated green threads that are allowed to crash to Swift?<br class=""></blockquote><br class="">Mainly, that concurrency is out of scope for Swift 3 (<a href="https://github.com/apple/swift-evolution/blob/master/README.md#out-of-scope" class="">https://github.com/apple/swift-evolution/blob/master/README.md#out-of-scope</a>). Hang in there, though. :^)<br class=""><br class="">-- <br class="">Brent Royal-Gordon<br class="">Architechies<br class=""><br class="">_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></div></blockquote></div><br class=""></div></div></body></html>