Re:Running TypeScript Natively in Node.js
by reactordev on Thursday July 17, 2025 @07:28PM
(#44599467)
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.
Re:Running TypeScript Natively in Node.js
by reactordev on Thursday July 17, 2025 @11:42PM
(#44600984)
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.
Re:Running TypeScript Natively in Node.js
by baker_miller on Thursday July 17, 2025 @08:46PM
(#44599992)
Use Deno compile to create a standalone executable and launch on provided.al2023 like you would a rust binary
Definitely not just about ecosystem.
When AWS Lambda supports Deno, then maybe someday further down the line, I might think about trying it once for something unimportant. If that goes well, then we'll see.