3 ms·
> I think Serverless would be another ideal use-case for Swift, where the productivity, clarity and correctness tools it offers would be a huge benefit. I agre
by wrinkl3 6y ago
> I think Serverless would be another ideal use-case for Swift, where the productivity, clarity and correctness tools it offers would be a huge benefit.
I agree, but sadly none of the big cloud providers has any interest in pushing it - Google's got Go, AWS and Azure seem focused on Typescript.
- chris_st 6y agoI know AWS lets you just deploy a docker container, so you can use whatever tools you want -- anyone know about Azure and Google cloud?
- skohan 6y agoYes theoretically I think there is nothing stopping you from shipping Swift code on AWS. I am pretty sure you could do it in a lambda and you don't even need a docker container. If you're talking about a container workflow, I'm pretty sure every cloud provider will support this just fine currently.
- ec109685 6y agoGoogle’s CloudRun has been based on docker containers and simple http interface for a while for their serverless approach.
- jabwd 6y agoI'm running Swift server side on Azure. You simply package it in a docker container and run it in an appservice. The only problem really is not having native blobstorage support (like AWS S3) but I wrote an opensource implementation that supports the basics at least. Im not going to plug the library here however coz its far from finished :)
- oflannabhra 6y agoAWS has a Swift runtime for Lambda [0], and Amazon has an open source server framework for Swift, Smoke [1]. [0] - https://swift.org/blog/aws-lambda-runtime/ https://swift.org/blog/aws-lambda-runtime/ [1] - https://github.com/amzn/smoke-framework https://github.com/amzn/smoke-framework