Duktape is a highly optimized embedded JavaScript engine for C/C++
Duktape is an MIT-licensed embedded javascript engine for c/c++.
Its main features are :
- Embeddable, portable, compact:
- 200kB code
- 46kB startup RAM (x86, default options)
- 22kB startup RAM (x86, lowmem options)
- 42kLoC source (excluding comments etc)
- Can run on platforms with 256kB flash and 96kB system RAM
- Ecmascript E5/E5.1 compliant, some features borrowed from E6 draft
- Built-in regular expression engine
- Built-in Unicode support
- Minimal platform dependencies
- Combined reference counting and mark-and-sweep garbage collection with finalization
- Custom features like coroutines, built-in logging framework, and built-in CommonJS-based module loading framework
- Property virtualization using a subset of Ecmascript E6 Proxy object