News for hackers. Stuff that matters.
Re:JerryScript – A JavaScript Engine for Internet of Things by robmccoll on Sunday July 26, 2015 @02:36PM (#9951815)
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).
Re:JerryScript – A JavaScript Engine for Internet of Things by mwcampbell on Sunday July 26, 2015 @05:33PM (#9952262)
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.