Front-end Frameworks

Duktape – embeddable Javascript engine

Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint.

Duktape is easy to integrate into a C/C++ project: add duktape.c, duktape.h, and duk_config.h to your build, and use the Duktape API to call ECMAScript functions from C code and vice versa.

This is free and open source software.

Key Features

  • Embeddable, portable, compact: can run on platforms with 160kB flash and 64kB RAM.
  • ECMAScript E5/E5.1, with some semantics updated from ES2015+.
  • Partial support for ECMAScript 2015 (E6) and ECMAScript 2016 (E7), see Post-ES5 feature status and kangax/compat-table.
  • ES2015 TypedArray and Node.js Buffer bindings.
  • CBOR bindings.
  • Encoding API bindings based on the WHATWG Encoding Living Standard.
  • performance.now().
  • Built-in debugger.
  • Built-in regular expression engine.
  • Built-in Unicode support.
  • Minimal, retargetable platform dependencies.
  • Combined reference counting and mark-and-sweep garbage collection with finalization.
  • Coroutines.
  • Property virtualization using a subset of ECMAScript ES2015 Proxy object.
  • Bytecode dump/load for caching compiled functions.
  • Distributable includes an optional logging framework, CommonJS-based module loading implementations, etc.

Website: duktape.org
Support: GitHub Code Repository
Developer: Sami Vaarala
License: MIT License

Duktape is written in JavaScript and C. Learn JavaScript with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials.


Related Software

JavaScript Engines
V8High-performance JavaScript and WebAssembly engine
SpiderMonkeyJavaScript and WebAssembly Engine, used in Firefox, Servo and more
QuickJSSmall and embeddable Javascript engine
HermesJavaScript engine optimized for React Native
RhinoJavaScript in Java
JerryScriptJavaScript engine for the Internet of Things
GraalJSECMAScript-compliant JavaScript engine
EscargotLightweight JavaScript engine
DuktapeEmbeddable JavaScript engine, focusing on portability and compact footprint
ElkTiny embeddable JavaScript engine

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted