4 ms·
I love writing Lambdas in Go. I would also love to be able to do that in Rust. I wonder if AWS will ever support that?
by _wldu 6y ago
I love writing Lambdas in Go. I would also love to be able to do that in Rust. I wonder if AWS will ever support that?
- arecurrence 6y agoThere's been a rust runtime for lambda for a couple years now. https://aws.amazon.com/blogs/opensource/rust-runtime-for-aws-lambda/ https://aws.amazon.com/blogs/opensource/rust-runtime-for-aws... Rust's low cold start times and relatively minimal memory footprint combined with C like efficiency would be particularly attractive for lambda.
- ibraheemdev 6y agoOddly, the official rust lambda runtime is not being actively maintained any more and the community is moving towards a fork by netlify [0][1] 0: https://github.com/lamedh-dev/aws-lambda-rust-runtime https://github.com/lamedh-dev/aws-lambda-rust-runtime 1: https://github.com/awslabs/aws-lambda-rust-runtime/issues/274 https://github.com/awslabs/aws-lambda-rust-runtime/issues/27...
- chubs 6y agoI tried using that runtime, wasted a lot of time, and discovered many issues, and stumbled across some issues where people were effectively declaring it abandonware. I found a fork which seems quite good, recommend it: https://github.com/lamedh-dev/aws-lambda-rust-runtime https://github.com/lamedh-dev/aws-lambda-rust-runtime
- mcintyre1994 6y agoI haven't used layers enough to give you any useful guidance, but when they released layers they claimed that they'd allow alternative languages to be deployed. IIRC they released a few new languages at the same time and claimed they were all built using layers. So this might well already be possible.