📡 Breaking news
Analyzing latest trends...

MicroQuickJS project is now open and runs JavaScript using only 10KB of RAM.

 

MicroQuickJS project is now open and runs JavaScript using only 10KB of RAM.
Fabrice Bellard, the legendary French programmer who created important projects such as FFmpeg, QEMU, and Tiny C Compiler, has launched a new project, MicroQuickJS (mjs), a JavaScript engine focused on extreme memory efficiency. The binary size is less than 100KB and uses only 10KB of RAM during runtime.

Bellard previously created QuickJS (qjs) in 2019, also aiming for a lightweight JavaScript engine, but qjs had a binary size of 387KB. This time, mjs changes the garbage collector to run in less RAM and doesn't use the CPU stack, while not supporting all JavaScript features; for example, it primarily supports ES5 strict mode.

The entire code uses almost no external APIs, including malloc() and free(). Running the code requires memory allocation, and the engine uses this memory.

Salvatore Sanfilippo, the creator of Redis, commented that if mjs had been available in 2010, he would have used it in Redis instead of Lua because of its similar characteristics: small size, speed, and use of standard C language.

💬 AI Content Assistant

Ask me anything about this article. No data is stored for your question.

Comments

Popular posts from this blog

[Rumor] Meta Secret Model Avocaco Slips to May Following Underwhelming Benchmarks.

From Startup to Security Standard Promptfoo Joins OpenAI to Bolster LLM Protection.

The "Forced" Upgrade Windows 10 User Outraged After PC Automatically Installs Windows 11 Without Consent

Adobe Settles FTC Lawsuit for $150M Over "Difficult-to-Cancel" Subscriptions.

Microsoft Teams Up with Anthropic "Copilot Cowork" Brings Claude Intelligence to Microsoft 365.

Smartphone Stalemate Apple and Samsung Tie for World's Top Producer in 2025.

AWS and Cerebras Launch Inference Disaggregation to Slash AI Latency on Bedrock.