All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

MicroQuickJS: A Lightweight JavaScript Engine for Embedded Systems

By

Aissen

5mo ago· 8 min readenCode

Summary

MicroQuickJS (MQuickJS) is a lightweight JavaScript engine designed for embedded systems, requiring only 10 kB of RAM and about 100 kB of ROM. It compiles and runs JavaScript programs with speed comparable to QuickJS but implements a stricter subset of JavaScript close to ES5, forbidding error-prone or inefficient constructs. While sharing much code with QuickJS, it has different internals optimized for minimal memory consumption.

Key quotes

· 5 pulled
MicroQuickJS (aka. MQuickJS) is a JavaScript engine targeted at embedded systems.
It compiles and runs JavaScript programs using as little as 10 kB of RAM.
The whole engine requires about 100 kB of ROM (ARM Thumb-2 code) including the C library.
MQuickJS only supports a subset of JavaScript close to ES5.
Although MQuickJS shares much code with QuickJS, it internals are different in order to consume less memory.
Snippet from the RSS feed
Public repository of the Micro QuickJS Javascript Engine - bellard/mquickjs

You might also wanna read