News Score: Score the News, Sort the News, Rewrite the Headlines

Eliminating JavaScript cold starts on AWS Lambda

Porffor can run on Lambda now!How? Enter PorfforPorffor is my JS engine/runtime that compiles JavaScript ahead-of-time to WebAssembly and native binaries. What does that actually mean? You can compile JS files to tiny (<1MB), fast (millisecond-level) binaries:~$ bat hi.js ─────┬────────────────────────────────────── 1 │ console.log("hello blog!") ─────┴────────────────────────────────────── ~$ porf native hi.js hi [271ms] compiled hi.js -> hi (12.9KB) ~$ du -h hi 16K hi ~$ ./hi hello blog! N...

Read more at goose.icu

© News Score  score the news, sort the news, rewrite the headlines