Re:AWS launches ARM-powered Lambdas
by bashtoni on Wednesday September 29, 2021 @06:56PM
(#28701069)
Sadly no support for Go right now.
[ Parent
| on HN ]
It works with Go: https://awsteele.com/blog/2021/09/29/graviton2-arm-comes-to-...
Re:AWS launches ARM-powered Lambdas
by dalrympm on Wednesday September 29, 2021 @09:14PM
(#28702106)
Thanks for this! I was hoping it was going to be this easy for a SAM based Go app but didn't have it in me to wade through the AWS docs. This post is $.
Re:AWS launches ARM-powered Lambdas
by bashtoni on Wednesday September 29, 2021 @09:02PM
(#28702042)
Yep, it turns out the go1.x runtime is no longer the preferred way to using Lambda functions written in Go.
You can run an arbitrary binary. Keywords for searching docs are 'bootstrap' (the entrypoint name) and 'custom runtime'.
In this way you can also run whatever version of the provided language runtimes you want, not limited to the official ones if you want newer python syntax or node stdlib features than are available, for example.