Brian Weinreich Brian Weinreich - 7 months ago 52
Swift Question

Can you use Swift as a web programming language?

Could you technically use Swift as a programming language for building a website / web app?

Update: Looks like a lot of people are working on this.

Official support from Apple:


Theoretically, any program that can output plain text can be used for CGI (Common Gateway Interface), that includes Swift. So, yes, you can use it for web programming. But there is no extra facilities as in PHP or EJB/JSP to make it easier for you. May be you can start making these facilities by yourself and be the first one to do so.