<div dir="ltr">The very first thing I considered writing in Swift is an implementation of Plack (<a href="http://plackperl.org/" target="_blank">http://plackperl.org/</a>). It seems like every language benefits from having something like this (Rack in Ruby, WSGI in Python, etc.), even if only to insulate web applications from the web server implementation. I'm not sure if a language benefits from having 20 things like this, at least in the long run…<div><br></div><div>-John</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 7, 2015 at 9:08 AM, Coen Wessels via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Since the linux port is available everybody is implementing their own HTTP server framework <a href="https://github.com/search?utf8=✓&q=http+language%3Aswift" target="_blank">https://github.com/search?utf8=✓&q=http+language%3Aswift</a>. I think introducing a default http web server protocol(swift protocol) in the stdlib, something like rack(ruby) or plug(elixir), would prevent a lot of fragmentation in interfaces.</div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=zlf4dR0nvlJYLhwcLLjLQ-2FCecgKliMR5YhsxHxM-2Fcowa8evoJSD02kJtgKZfI7KBAWaEJ5BnjfHVTAHmCJ1HwN6zqEMg9PWi0nCOj8jvgABUaMrg70o3z-2BaZty6BXkF1bthPWb1DQmZe1ARCTmoelYHhP58a5hCmcl7F-2BEoj9zS2UBN7A7W8TtImq95qN7Wc4Z6jUdvvPiSPTsL-2FDThtn2Ih4sBf-2F3cRrVtvqdrpPX0-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
<br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div></div>