3 ms·
I'd like to see this running on an Arduino :)
by achalkley 12y ago
I'd like to see this running on an Arduino :)
- mmastrac 12y agoI 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 https://news.ycombinator.com/item?id=8702610
- svaarala 12y agoThese 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? :)