Sami Vaarala
Sami Vaarala
A full example of a suspend/resume solution would be nice. It would be nice to discuss the pros/cons of yield/resume vs. suspend/resume.
It would still be nice to provide a concrete example how to do it in practice, as the question has come up a number of times.
There's now a minimal howto in master, which can be improved on. For example, the Howto could provide the concrete steps and example files for some chosen target platform.
I'll comment on the content itself separately, but regarding placement: having this in the Wiki is fine and the page you chose seems best for the purpose. If the code...
I haven't done such a comparison: the motivation for using uclibc is sometimes that it's the only thing available on the (embedded) target.
Escaping an underscore is a SyntaxError in the strict Ecmascript ES5 semantics: - See http://www.ecma-international.org/ecma-262/5.1/#sec-15.10.1, definition of IdentityEscape is "SourceCharacter but not IdentifierPart". - IdentifierPart includes among other things the...
Duktape doesn't yet support the features in the examples yet, namely: catch without a variable, `?.` operator, and `??` operator.
There's no risk if the platform provides enough stack. The default limit is a compromise so that on most platforms the limit is reached before one actually runs out of...
@stevefan1999 If multiple global environments share the same Duktape heap, they are actually not isolated from each other: although there's no easy Ecmascript way of sharing objects (or passing them...
Duktape runs on embedded devices with 128 kB RAM right now (hello world RAM footprint is around 80 kB), and there's ongoing effort to get the hello world footprint lower....