Release of embedded JavaScript engine Duktape 2.4.0

Published release of the JavaScript engine Duktape 2.4.0, designed for embedding in the code base of projects in C/C++. The engine stands out with its compact size, high portability, and low resource consumption. The source code of the engine is written in C and is distributed is licensed under the MIT License.

the Duktape code takes up about 160 kB and consumes only 70 kB of RAM, while in low-memory mode it uses 27 kB of RAM. To integrate Duktape into C/C++ code it is sufficient to add the files duktape.c and duktape.h to the project and use the Duktape API to call JavaScript functions from C/C++ code or vice versa. A garbage collector with a finalizer, built on a combination of reference counting algorithm and mark-and-sweep algorithm, is employed to free unused objects from memory. The engine is used for processing JavaScript in the browser NetSurf It ensures full compatibility with the Ecmascript 5.1 specifications and partial.

Ecmascript 2015 and 2016 (E6 and E7), including support for the Proxy object for virtualizing properties, typed arrays, ArrayBuffer, Node.js Buffer, Encoding API, Symbol object, etc. It includes a built-in debugger, an engine for executing regular expressions, and a subsystem for supporting Unicode. Specific extensions are also provided, such as support for coroutines, a built-in logging framework, a module loading mechanism based on CommonJS, and a bytecode caching system that allows saving and loading compiled functions. disabling the tracker blocking new calls to duk_to_stacktrace() and duk_safe_to_stacktrace() for obtaining stack traces, duk_push_bare_array() for adding independent array instances. The public functions duk_require_constructable() and duk_require_constructor_call() have been translated. Compatibility with the ES2017 specification has been improved. Optimizations for working with arrays and objects have been made. The CLI interface duk now includes the option "—no-auto-complete" to disable input auto-completion.

In the new release, is implemented Windows 10 has introduced a "cloud" backup

Source: opennet.ru

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