French mathematician Fabrice Bellard, who founded the QEMU and FFmpeg projects, has released an update for his compact embedded JavaScript engine. The engine supports the ES2019 specification and additional mathematical extensions like BigInt and BigFloat types. In terms of performance, QuickJS is significantly better than existing analogues ( DukTape JerryScript MuJS seven times). The project offers a library for embedding the engine, an interpreter called qjs for running JavaScript code from the command line, and a compiler called qjsc for generating standalone executable files. The code is written in C and is licensed under the MIT License. More about the project can be read in the text .
The new version includes experimental support for the type, which allows manipulation of decimal numbers with arbitrary precision (analogous to BigInt for base-10 numbers). The operator overloading implementation has been updated. Added programs for efficiently calculating the number Pi to a billion digits after the decimal point (as a mathematician, Fabrice Bellard is known for creating the fastest formula for calculating the number Pi).
Source: opennet.ru
