News for hackers. Stuff that matters.
Re:Duktape: an embeddable JavaScript engine by achalkley on Thursday December 04, 2014 @08:39PM (#8702693)
I'd like to see this running on an Arduino :)
Re:Duktape: an embeddable JavaScript engine by mmastrac on Thursday December 04, 2014 @10:20PM (#8702876)
I thought about this, but at least the atmega328p has nowhere near enough RAM for it. The Arduino Mega's chip is still a bit small (ref this comment [1])

[1] https://news.ycombinator.com/item?id=8702610

Re:Duktape: an embeddable JavaScript engine by svaarala on Saturday December 06, 2014 @05:10AM (#8708864)
These amount of flash/RAM are probably not realistic for a compliant engine. For instance, the Duktape regexp engine alone takes around 10kB flash compiled.

Luckily Javascript has a great ecosystem, so there are non-compliant subset engines targeting tiny devices. What other (higher level) language scales this way? :)