Introduction 先日,AWSはexperimentalなものとしてAWS Lambdaに特化した JavaScriptランタイムのLLRT(Low Latency Runtime)を公開しました。 これはRustで実装されており、JavaScriptエンジンにはQuickJSを使っています。 LLRTを使うことでコールドスタート時間や 実行速度が高速になったりします。 そのあたりについては他にもいろいろ解説されてるし、 そのうち弊社のプロたちが詳細な記事を書くと思うので省略。 実際にLLRTをゼロから動かそうとすると、 (いまのところ)けっこう面倒です。 そうおもってたらSAMでサンプル動かすPRがでてたので、 それをやってみました。 Environments MacBook Pro (13-inch, M1, 2020) OS : MacOS 14.3.1 SAM CLI :