Hacker News new | ask | show | jobs
by johnohara 4386 days ago
Device looks to be based on an NXP LPC1830FET180 microcontroller which uses an ARM Cortex-M3 processor at 180MHz.

http://www.nxp.com/products/microcontrollers/cortex_m3/LPC18...

The product page seems to indicate it does a more than run JavaScript.

1 comments

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.