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
JerryScriptJavaScript engine for the Internet of Things
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 Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments