3 ms·
You would need a JS runtime compiled for your target device, or a standalone JS compiler for your target device. EDIT: Assumed you meant running JS on-the-metal
by hamiltonkibbe 12y ago
You would need a JS runtime compiled for your target device, or a standalone JS compiler for your target device.
EDIT: Assumed you meant running JS on-the-metal. If you're running an OS then you could just have a JS interpreter (or V8) running on it.
How do you define an interrupt handler in JS?
- pjmlp 12y agoBy exposing an API on the runtime? No different from any other language.
- hamiltonkibbe 12y agoExcept that the compilers and toolchains already exist for other languages, and --as far as I know-- don't currently exist for JS. If I wanted to run $SOMEFILE.js on an msp430 today, how would I go about it?