Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

How does this compare to duktape (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).


The 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: