<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 28, 2017, at 6:56 PM, Howard Lovatt via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Many of the currently popular server side frameworks are switching to Reactive Streams:<div class=""><br class=""></div><div class=""> <a href="http://en.wikipedia.org/wiki/Reactive_Streams#Adoption" class="">http://en.wikipedia.org/wiki/Reactive_Streams#Adoption</a></div><div class=""><br class=""></div><div class="">for their underlying communication, including Akka. Reactive Streams are also to become builtin to Java, as the Flow class, in version 9.</div><div class=""><br class=""></div><div class="">Would it be wise if Swift 5 also builtin Reactive Stream protocols and built its Actor implementation etc. on top of this protocol?<br class=""></div></div></div></blockquote><div><br class=""></div><div>In MHO, yes, it would be great to build a reactive stream abstraction as well. I agree with you that this is an effectively “obvious” part of the eventual model, and that we will almost certainly end up building it. It would also make sense to have foreach over an async sequence be itself implicitly async. I haven’t sketched that out, but it seems like a few straight-forward steps beyond what is in the manifesto doc.</div><div><br class=""></div><div>I’ve added a mention of these to the doc, thanks!</div><div><a href="https://gist.github.com/lattner/31ed37682ef1576b16bca1432ea9f782#further-extensions" class="">https://gist.github.com/lattner/31ed37682ef1576b16bca1432ea9f782#further-extensions</a></div><div><br class=""></div><div>-Chris</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature"> -- Howard.<br class=""></div></div><div class="gmail_signature"><br class=""></div><div class="gmail_signature">More info on Reactive streams:</div><div class="gmail_signature"><br class=""></div><div class="gmail_signature"> <a href="https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.1/README.md#specification" class="">https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.1/README.md#specification</a></div><div class="gmail_signature"><br class=""></div><div class="gmail_signature"> <a href="http://bryangilbert.com/post/code/scala/akka-reactive-streams/" class="">http://bryangilbert.com/post/code/scala/akka-reactive-streams/</a></div><div class="gmail_signature"><br class=""></div>
<div class="gmail_quote"><br class=""></div></div></div></div>
_______________________________________________<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></blockquote></div><br class=""></body></html>