News for hackers. Stuff that matters.
Re:Deno in 2023 by xtreme on Monday February 05, 2024 @10:58AM (#39262521)
There are size limits when deploying on serverless or edge infrastructure so developers have to care about that. The providers also typically charge by compute seconds * memory consumed so a larger executable costs real money as well.
Re:Deno in 2023 by fshr on Monday February 05, 2024 @11:43AM (#39263213)
The compiled option isn’t intended for serverless or edge uses, you just deploy the source files and the platform takes over.
Re:Deno in 2023 by dmattia on Monday February 05, 2024 @12:43PM (#39264047)
Some serverless use cases work like you say, but Docker-based options such as AWS ECS, Docker-based Lambda functions, or Kubernetes would all commonly make use of compiled options
Re:Deno in 2023 by 0x457 on Monday February 05, 2024 @05:34PM (#39268166)
No, you won't use compiled option in k8s or any other container based deployment.

You would use deno as base layer, your dependencies in another layer, your code is in the last layer.