[swift-evolution] [Concurrency] async/await + actors
me at benrimmington.com
Thu Aug 24 16:34:17 CDT 2017
Chris Lattner recently commented in <https://github.com/apple/swift/pull/11501> that the prototype could use <https://llvm.org/docs/Coroutines.html> support.
In one of the CppCon videos, Gor Nishanov said that C++ coroutines won't have an `async` keyword, and will be compatible with function pointers in C and C++.
I couldn't find the reason for this decision; does anyone here know why C++ coroutines don't need an `async` keyword?
And/or why do Swift coroutines need the `async` keyword? Does it imply a hidden parameter, like the `throws` keyword?
More information about the swift-evolution