Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's a beautiful language that's a joy to write. It's safe and ergonomic, and has an extremely powerful type system. I'd say those are good reasons to use Swift.


I'm really interested in exploring it for building web app backends because of this. Being able to have a drag-and-drop distribution is even better.


I haven't used it yet, but I've heard really good things about Vapor as far as server side Swift goes...

https://vapor.codes


Thanks. What is a "protocol server?"


Not a super-expert but I've used Vapor on some personal projects. Do you have a link to the mention for "protocol server"? I'm not familiar with the concept but might be able to help.


I'm guessing they clicked onto the Built with SwiftNIO link and saw this at https://github.com/apple/swift-nio.


That's right. I did a search but this term does not seem to have a trendy or thorough definition.


In this instance they're talking about implementing network protocols, such as HTTP, where one end is the client and the other end of the connection is the server.

It's confusing because the Swift language also has the concept of "protocols" which are basically the equivalent of Java and C#'s interfaces if you're familiar with those languages.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: