Hacker News new | ask | show | jobs
by dkersten 4386 days ago
It doesn't run javascript (not natively). It runs just like every other ARM microcontroller (so assembly, C, etc).

This device has a lua interpreter running as its firmware (coded in C, it looks like) and these guys wrote a javascript to lua compiler.

So it runs javascript by compiling it to lua bytecode and then intrepreting it in a C-based intrepreter.