llrt
hermes
llrt | hermes | |
---|---|---|
14 | 44 | |
8,167 | 9,964 | |
0.9% | 1.1% | |
9.7 | 9.7 | |
4 days ago | 2 days ago | |
JavaScript | C++ | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
llrt
-
Show HN: Self-Host Next.js in Production
Any plans to add support for? https://github.com/awslabs/llrt
It would also be nice to have a V8/deno/bun based edge hosting option that supports the Next.js edge and middleware code splitting. That's the missing piece for most homebrew "edge" setups. Production CDNs like Clouflare and Supabase all offer this.
-
Everything Suffers from Cold Starts
Vlad Ionescu: Scaling containers on AWS in 2022 GitHub: awslabs/llrt AWS Documentation: Understanding the Lambda execution environment Amazon Science: How AWS's Firecracker virtual machines work Lumigo GitHub: MiddyJS
-
Porffor: A from-scratch experimental ahead-of-time JS engine
Its refreshing to see all the various JS engines that are out there for various usecases.
I have been working on providing quickjs with more node compatible API through llrt [1] for embedding into applications for plugins.
[1] https://github.com/awslabs/llrt
-
[Lab] AWS Lambda LLRT vs Node.js
AWS has open-sourced its JavaScript runtime, called LLRT (Low Latency Runtime), an experimental, lightweight JavaScript runtime designed to address the growing demand for fast and efficient Serverless applications.
-
Unlocking Next-Gen Serverless Performance: A Deep Dive into AWS LLRT
FROM --platform=arm64 busybox WORKDIR /var/task/ COPY app.mjs ./ ADD https://github.com/awslabs/llrt/releases/latest/download/llrt-container-arm64 /usr/bin/llrt RUN chmod +x /usr/bin/llrt ENV LAMBDA_HANDLER "app.handler" CMD [ "llrt" ]
-
Is AWS Lambda Cold Start Still an Issue?
Let’s get the simplest use case out of the way: cases where the cold starts are so fast that it’s not an issue for you. That’s usually the case for function that use runtimes such as C++, Go, Rust, and LLRT. However, you must follow the best practices and optimizations in every runtime to maintain a low impact cold start.
-
JavaScript News, Updates, and Tutorials: February 2024 Edition
But compared to other runtimes, LLRT is not so good in terms of performance when it comes to dealing with large data processing, Monte Carlo simulations, or performing tasks with a large number of iterations. The AWS team says that it is best suited for working with smaller Serverless functions dedicated to tasks such as data transformation, real-time processing, AWS service integrations, authorization, validation, etc. Visit the GitHub repository of this project to learn more information.
- FLaNK Stack 26 February 2024
-
People Matter more than Technology when Building Serverless Applications
And lastly, lean into your cloud vendor. Stop trying to build a better mouse trap. Advances in technology are happening all the time. The speed of AWS' Lambda has been rapidly improving over the past couple of years with the launch of things like SnapStart and LLRT
- Hono v4.0.0
hermes
- Jaws – a JavaScript to WASM ahead of time compiler
- Porffor: A from-scratch experimental ahead-of-time JS engine
- Hermes Sandboxed Runtime
-
LLRT: A low-latency JavaScript runtime from AWS
Hermes is a big one as well: low startup latency, low memory
https://hermesengine.dev/
-
A list of JavaScript engines, runtimes, interpreters
Hermes
- Implementation of Arrays via Segments (By Hermes for JavaScript)
-
Threads uses Compose!
InstagramBundle.js.hbc.spk.xz is likely a compressed version of Hermes bytecode (js.hbc)"
-
Removing Timezones from Dates in Javascript
In React Native's case, it uses an engine called Hermes:
-
This Week In React-Native #137: Expo Code Elimination, Monorepo, Hermes, Chain React, EAS, Skia, Expo Router, VisionCamera, React-Native-Graph
📜 I made JSON.parse() 2x faster: Radek proposes to improve the performance of Hermes by using very fast C++ libs based on SIMD instructions. Interesting to read even if you don't use React-Native. Ongoing discussions on the Hermes PR.
-
I made JSON.parse() 2x faster
Thanks! There's a preliminary PR with a discussion here: https://github.com/facebook/hermes/pull/933 (and broader context here: https://github.com/facebook/hermes/issues/811 ). But we'll see if there's any interest on Hermes' side to merging it. They definitely want to improve the parser, but it's unclear to me if they want to take on the simdjson/simdutf dependencies.
What are some alternatives?
winterjs - Winter is coming... ❄️
v8.dev - The source code of v8.dev, the official website of the V8 project.
pljs - PLJS - Javascript Language Plugin for PostreSQL
react-native-debugger - The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
mud-pi - A simple MUD server in Python, for teaching purposes, which could be run on a Raspberry Pi
nodejs-mobile - Full-fledged Node.js on Android and iOS
workerd - The JavaScript / Wasm runtime that powers Cloudflare Workers
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
winterjs
quickjspp - Port of QuickJS Javascript Engine.
sst - Build full-stack apps on your own infrastructure.
react-native-quick-base64 - A fast base64 module for React Native