hermes
v8.dev
hermes | v8.dev | |
---|---|---|
44 | 77 | |
10,054 | 962 | |
1.1% | 0.7% | |
9.7 | 6.7 | |
4 days ago | 10 days ago | |
C++ | JavaScript | |
MIT License | Apache License 2.0 |
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.
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.
v8.dev
-
🚀⚙️ JavaScript Visualized: the JavaScript Engine
V8 Docs || V8 Github || Chrome University 2018: Life Of A Script If you like the post then follow me for more and subscribe on youtube Dev Studio
-
TrailBase: Fast & Open FireBase alternative
The benchmark sets up a custom HTTP endpoint /fibonacci?n= using the same slow recursive Fibonacci implementation for both, PocketBase and TrailBase. This is meant as a proxy for a computationally heavy workload to primarily benchmark the performance of the underlying JavaScript engines: goja for PocketBase and V8 for TrailBase. In other words, the impact of any overhead within PocketBase or TrailBase is diminished by the time it takes to compute fibonacci(N) for sufficiently large N.
-
My Contribution to Deno 2.0
Deno (/ˈdiːnoʊ/, pronounced dee-no) is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults and a great developer experience. It's built on V8 Rust, and Tokio.
-
"Node.js: Understanding the Difference Between Current and LTS Versions"
Reference from Wikipedia (https://en.wikipedia.org/wiki/Node.js#:~:text=since%20February%202024-,Node.,and%20later%20sponsored%20by%20Joyent.), Node documentation (https://nodejs.org/en/download/package-manager), V8 Dev(https://v8.dev/) and lastly my favourite AI(ChatGPT(https://chatgpt.com/))
-
When to Use Bun Instead of Node.js
In most cases, Bun is faster than Node.js. Zig offers great control over code execution, which allows maintainers to optimize for performance at a low level. Bun is also based on the fast and efficient JavaScriptCore engine. In contrast, Node.js is written in less efficient JavaScript and relies on the slower V8 JavaScript engine.
-
Show HN: Invertornot.com – API to enhance your images in dark-mode
Semi-related - I saw this trick on https://v8.dev a while back, but `filter: hue-rotate(180deg) invert();` can be a neat CSS trick to 'dark mode' some kinds of graphics. The `hue-rotate` help a bit to keep 'blues blue' etc.
It's far from perfect, but it's a neat trick to be aware of.
-
Top 8 Recent V8 Updates
V8 is a high-performance JavaScript engine developed by Google. Its purpose is to convert JavaScript code into machine code for execution by the underlying hardware. Primarily developed by the V8 team at Google, the engine focuses on speed and efficiency. In particular, it relies on just-in-time compilation and uses inline caching for high performance.
-
A list of JavaScript engines, runtimes, interpreters
V8
-
C++ Specification vs Implementation
Exactly the same as JavaScript engines. Be it Mozilla's SpiderMoneky, Google's V8, Apple's Webkit, or Microsoft's Chakra. No matter how specific we draft a specification there is always room for interpretation. Every team has a different take on what part of a spec is describing. Oftentimes it's just a matter of varying pros and cons of different approaches on the road to matching spec; various teams just kind of have to pick a direction and run with it. Other times a spec is not only too vague, but clearly short-sighted to boot.
-
Abstract Syntax Trees and Practical Applications in JavaScript
Remember that we earlier established that every source gets parsed into an AST at some point before it gets compiled or interpreted. For example, platforms like Nodejs and chromium-based browsers use Gooogle's V8 engine behind the scenes to run JavaScript and of course, some AST parsing is always involved before the interpreter kicks in. I looked V8's source and I discovered it uses its own internal parser to achieve this.
What are some alternatives?
quickjspp - Port of QuickJS Javascript Engine.
babel-sublime - Syntax definitions for ES6 JavaScript with React JSX extensions.
react-native-skia - High-performance React Native Graphics using Skia
bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
ChakraCore - ChakraCore is an open source Javascript engine with a C API.
react-native-debugger - The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
libuv - Cross-platform asynchronous I/O
nodejs-mobile - Full-fledged Node.js on Android and iOS
WebKit - Home of the WebKit project, the browser engine used by Safari, Mail, App Store and many other applications on macOS, iOS and Linux.
react-native-quick-base64 - A fast base64 module for React Native
0.30000000000000004 - Floating Point Math Examples