Monday, October 21, 2024

QuickJS Javascript Engine

QuickJS Javascript Engine (C, MIT license, updated 2024)

QuickJS is a small and embeddable Javascript engine. It supports the ES2023 specification including modules, asynchronous generators, proxies and BigInt.

It optionally supports mathematical extensions such as big decimal floating point numbers (BigDecimal), big binary floating point numbers (BigFloat) and operator overloading.

Small and easily embeddable: just a few C files, no external dependency, 210 KiB of x86 code for a simple hello world program.

Fast interpreter with very low startup time: runs the 76000 tests of the ECMAScript Test Suite in less than 2 minutes on a single core of a desktop PC. The complete life cycle of a runtime instance completes in less than 300 microseconds.

Almost complete ES2023 support including modules, asynchronous generators and full Annex B support (legacy web compatibility). Passes nearly 100% of the ECMAScript Test Suite tests when selecting the ES2023 features




Fabrice Bellard (French pronunciation: [fa.bʁis bɛ.laʁ]; born 1972) is a French computer programmer known for writing FFmpeg, QEMU, and the Tiny C Compiler. He developed Bellard's formula for calculating single digits of pi.

No comments: