Fabrice Bélard posted the JavaScript engine

French mathematician Fabrice Bellard, better known for his work on ffmpeg, qemu, tcc, and calculating pi, has released QuickJS, a compact implementation of JavaScript as a C library.

  • Almost fully supports the ES2019 specification.
  • Including mathematical extensions.
  • Passes all ECMAScript Test Suite tests.
  • No dependencies on other libraries.
  • The small size of the statically linked library is from 190 KiB on x86 for "hello world".
  • Fast interpreter - passes 56000 ECMAScript Test Suite tests in ~100s on 1 desktop PC core. Start and stop cycle overhead < 300 µs.
  • Can compile Javascript into executables without external dependencies.
  • Can compile Javascript to WebAssembly.
  • Reference-counted garbage collector (deterministic, low memory consumption).
  • Command line interpreter with colored syntax highlighting.

According to performance tests of discussions on opennet.ru, the speed of QuickJS in tests is 15-40 times less than Node.js.

Source: linux.org.ru

Add a comment