4 ms·
How does this compare to duktape (http://duktape.org http://duktape.org)? I really like duktape's API and documentation (stack-based interface similar to Lua an
by robmccoll 11y ago
How does this compare to duktape (http://duktape.org http://duktape.org)? I really like duktape's API and documentation (stack-based interface similar to Lua and the doc perfectly describes how each function call affects the stack state).
- mwcampbell 11y agoThe API isn't stack-based. It's more like the Python C API, complete with reference counting (but note that actual memory reclamation is done through mark-and-sweep GC), except that instead of everything being a pointer to an object, numbers and booleans are represented directly, so a union is used to represent values.
- deleted 11y ago[deleted]