News for hackers. Stuff that matters.
Re:Duktape: an embeddable JavaScript engine by analog31 on Thursday December 04, 2014 @07:15PM (#8702474)
Maybe I'm asking a dumb question, but does this mean I can stick JS onto a microcontroller of my choice, just by wrapping it in a C program? I wonder how big it is when compiled.

Edit: I see the requirements are right there.

Re:Duktape: an embeddable JavaScript engine by svaarala on Thursday December 04, 2014 @08:05PM (#8702610)
Around 200kB of code (flash), and around 25kB of RAM after startup, with low memory optimizations in the master branch (for the upcoming Duktape 1.1 release). This doesn't include User Javascript, just what Duktape needs to start up.

You can run Duktape with 128kB RAM, and to some extent with 96kB, see e.g.: http://www.slideshare.net/seoyounghwang77/js-onmicrocontroll...