[swift-evolution] HTTP webserver protocol's

Lukas Stabe ahti333 at gmail.com
Mon Dec 7 10:24:27 CST 2015


The [Nest project](https://github.com/nestproject/Nest <https://github.com/nestproject/Nest>) seems to aim to be something like this.

While I agree that a Rack/WSGI/Plack equivalent would be benificial to have, I don’t think it fits the current goals of the stdlib (providing basic data structures and algorithms) for now.

Lukas

> On 07 Dec 2015, at 16:27, John Siracusa via swift-evolution <swift-evolution at swift.org> wrote:
> 
> The very first thing I considered writing in Swift is an implementation of Plack (http://plackperl.org/ <http://plackperl.org/>). 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…
> 
> -John
> 
> 
> On Mon, Dec 7, 2015 at 9:08 AM, Coen Wessels via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
> Since the linux port is available everybody is implementing their own HTTP server framework https://github.com/search?utf8=✓&q=http+language%3Aswift <https://github.com/search?utf8=%E2%9C%93&q=http+language%3Aswift>. 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.
>  
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org <mailto:swift-evolution at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-evolution <https://lists.swift.org/mailman/listinfo/swift-evolution>
> 
> 
>  _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151207/d00a4b0a/attachment.html>


More information about the swift-evolution mailing list