swift-server / swift-aws-lambda-runtime

Swift implementation of AWS Lambda Runtime
Apache License 2.0
1.12k stars 101 forks source link

Question: Can swift-aws-lambda-runtime run on arm? #235

Closed mufumade closed 2 years ago

mufumade commented 2 years ago

As of today AWS lambda can now run using arm/gravaton2 architecture instead of x86. Is there any reason not to use arm for the swift-aws-lambda-runtime?

According to AWS this would be a price reduction and a performance increase. And that's obviously something that we all want :)

Thanks!

fabianfett commented 2 years ago

@mufumade Yes it can! You just need to compile it using the swift nightly amazonlinux2 arm64 toolchain/docker image.

mufumade commented 2 years ago

Alright. Thanks a lot for the quick answer :)