[HN Gopher] AWS Introduces a New JavaScript Runtime for Lambda
___________________________________________________________________
AWS Introduces a New JavaScript Runtime for Lambda
Author : bubblehack3r
Score : 6 points
Date : 2024-03-20 21:33 UTC (1 hours ago)
(HTM) web link (www.i-programmer.info)
(TXT) w3m dump (www.i-programmer.info)
| ttfkam wrote:
| Can't wait for LLRT to be marked stable. Was spending time
| looking into Rust lambdas, but was reluctant about the total
| build times for my stacks and getting new team members onboarded
| with lambdas. (Though in fairness, Rust lambdas tend to be short
| and digestible, which are perfect for Rust novices.)
|
| LLRT is basically no learning curve. Same old esbuild most TS and
| JS devs are used to. I guess we're sticking with one language
| from front to back again:
|
| CDK in TS, lambdas in TS, and frontend logic in TS.
| avandekleut wrote:
| This is how I did it at my previous job. A clever setup allows
| you to have frontend/backend end-to-end type safety. We even
| made our lambda environment variables typed, through to the CDK
| code that populated them.
| tony-allan wrote:
| I noticed that you can use QuickJS as en embedded scripting
| language within Python.
|
| [1] https://github.com/PetterS/quickjs
| mattashii wrote:
| > This also means that its size is tiny, in the order of a few
| kilobytes in contrast to the 20+MB required by its counterparts.
|
| A full, performant ES2023 runtime, in "the order of a few
| kilobytes"? Even when you remove all JIT and GC, that sounds too
| fantastic.
|
| I'll believe it when I see it.
___________________________________________________________________
(page generated 2024-03-20 23:02 UTC)