New version of the embedded JavaScript engine from the founder of QEMU and FFmpeg

French mathematician Fabrice Bellard, who founded the QEMU and FFmpeg projects, has released an update for his compact embedded JavaScript engine. QuickJSThe engine supports the ES2019 specification and additional mathematical extensions like BigInt and BigFloat types. In terms of performance, QuickJS is significantly outperforms better than existing analogues (engine by 35%, DukTape more than twice, JerryScript by three times, and MuJS by seven times. 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 distributed is licensed under the MIT License. More about the project can be read in the text of the first release announcement..

The new version includes experimental support for the BigDecimaltype, which allows manipulation of decimal numbers with arbitrary precision (analogous to BigInt for base-10 numbers). The operator overloading implementation has been updated. Added examples 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

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster