hermes
quickjspp
hermes | quickjspp | |
---|---|---|
44 | 6 | |
10,054 | 306 | |
1.1% | 1.6% | |
9.7 | 4.0 | |
4 days ago | 7 months ago | |
C++ | C | |
MIT License | GNU General Public License v3.0 or later |
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.
quickjspp
-
Alternatives for realtime offline-first JavaScript applications
I think that my Storage implementation that is built-in into JavaScript in QuickJS and Sciter is still unbeatable as an integrated JS Storage solution:
-
Sciter, the 5 MB Electron alternative, has switched to JavaScript
"custom version of React he publishes..."
It is not a a custom version of React but rather extension of DOM model by just these:
1. Native JSX support. In Sciter QuickJS was extended to support JSX literals out of the box: https://github.com/c-smile/quickjspp/blob/master/quickjs-jsx...
2. Native methods:
- Element.patch(...JSX expression...) - native VDOM reconciliation implementation.
-
Txiki.js: Tiny JavaScript runtime built with QuickJS and libuv
In fact 1.8 Mb is quite a lot for QuickJS.
Whole Sciter engine that includes as QuickJS as HTML/CSS engines is about 6 Mb.
My port of QuickJS [1] that also includes persistent storage (think of MongoDB built into JS) is 736 Kb on Windows.
[1] https://github.com/c-smile/quickjspp
-
Mongita is to MongoDB as SQLite is to SQL
I've added built-in persistence to QuickJS: https://github.com/c-smile/quickjspp/blob/master/storage/doc/introduction.md
-
Show HN: Svelte NodeGUI, a lightweight Electron alternative with native UI
I might go a little offtopic here. Any plans to integrate https://github.com/c-smile/quickjspp. That way you can target mobile platforms too. QT supports mobiles well
As for desktop only this is great. Great work. Many people are commenting on NodeGUI only. They have forgotten to mention how Svelte also contribytes to saving memory footprint and cpu cycles over other frameworks with a much easier way to write apps. Add a small learning curve to that.
-
What's new in ECMAScript 2021
I've added JSX to JS used in Sciter that allowed to have JSX available for Mithril and PReact
What are some alternatives?
v8.dev - The source code of v8.dev, the official website of the V8 project.
jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.
react-native-skia - High-performance React Native Graphics using Skia
just - the only javascript runtime to hit no.1 on techempower :fire:
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
v8-jsi - React Native V8 JSI adapter
react-native-debugger - The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
xgo - Go CGO cross compiler
nodejs-mobile - Full-fledged Node.js on Android and iOS
svelte-nodegui - Build performant, native and cross-platform desktop applications with native Svelte + powerful CSS-like styling.🚀
react-native-quick-base64 - A fast base64 module for React Native
sciter-js-sdk - Sciter.JS - Sciter but with QuickJS on board instead of my TIScript