Skip to content

Comment on Running TypeScript Natively in Node.jsparent

Comments

AWS Lambda supports custom runtimes so you can roll your own. All you need is a container.

https://gist.github.com/begoon/993e29f5cf9a384b9e0e96e70a71b...

But for ts/js land, lambda is node unless you want to build your own containers.

All you need is a container.

That isn't the same as AWS Lambda supporting Deno, and you should know it. No, I don't want the extra hassle of containers.

Lambda’s being pulled from storage or containers being pulled from ECR is negligible. The difference here is in the container layers. If you build a small container with alpine it’s not that bad.

Not to try to convince otherwise. Just that it isn’t as bad as it used to be. Our Golang lambdas have 2ms more startup time than our JavaScript lambdas.

Lambda is just a fancy CGI-BIN

Maybe you didn't understand when I said "I do not want the extra hassle of containers". I don't care about start-up time, I don't care that it "isn't as bad as it used to be". I just do not want to have to create or maintain a "container" myself. That's why I chose Lambda to begin with. It's a FaaS, and that's where it ends for me.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.