[swift-evolution] [Concurrency] A slightly different perspective

Nathan Gray n8gray at n8gray.org
Fri Sep 1 10:26:06 CDT 2017



Sent from my iPad

> On Sep 1, 2017, at 12:44 AM, Marc Schlichte <marc.schlichte at googlemail.com> wrote:
> 
> No, 
> 
> as I see it, async / await without actors should behave the same way as if you pass continuations instead - especially if we auto convert CPS style functions into await/async style, the queueing behavior must not change IMHO. 

Ok, then I guess we just disagree. I don't see any need for the new syntax to have the same semantics, since you can still use the CPS syntax if you want the old behavior.

If all async/await does is give us a slightly prettier way to write the same grungy code I'll be very disappointed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170901/c742797f/attachment.html>


More information about the swift-evolution mailing list