Honey, I Shrunk the Scripts! — the secret life of JS on microcontrollers
summary
Concrete claims, tools, numbers and demos: Johnny-Five + Firmata runs Node code off-board while commands stream to microcontrollers; Espruino runs source on-device so whitespace and comments slow execution measurably. Tiny engines: V7 (~40–100 KB), JerryScript fits under ~200 KB flash and ~40–64 KB RAM, MJS targets ~25 KB by dropping features. Real demos include a 39-line JavaScript Pebble watch face matching C performance and games compiled in-browser to microcontroller hardware that actually run.
AI-written summary · about
chapters (19)
- 0:00Intro
- 0:34JAVASCRIPT ON HARDWARE
- 1:25ONCE UPON A TIME IN 2009..
- 3:52NODE ROBOTICS WITH JOHNNY FIVE
- 5:41NODE-SERIALPORT
- 6:30THE FIRMATA PROTOCOL
- 7:44THE TESSEL
- 8:09FLAKI MEETS THE HARDWARE WORLD
- 14:25ESPRUINO EXECUTES JAVASCRIPT ON THE DEVICE, STRAIGHT FROM SOURCE
- 17:05LET ME TELL YOU A LITTLE STORY ABOUT 600 LITTLE ASCII BYTES.
- 18:41THE V8 FUNCTION-INLINING LIMIT IS REAL
- 20:23V7 IS AN EMBEDDED JAVASCRIPT ENGINE
- 21:50MUS IS A JAVASCRIPT SUBSET ENGINE
- 23:53EMBEDDED EXPLORATIONS
- 24:22JERRYSCRIPT
- 25:00PREPARING YOUT FOR A DIGITAL AGE WITH THE BBC MICRO:BIT
- 26:41THE MAKECODE EDITOR ON THE MICROBIT
- 32:34INTRODUCING: CLOUDUBOY
- 33:51HOW ABOUT THIS?
related talks
45mJavaScript all the things
41mJerryScript: An Ultra-lightweight JavaScript Engine for the Internet of Things
32mJS in Strange Places
33mJavaScript for Hardware
37mJavaScript On Microcontrollers
26mJavaScript for Microcontrollers with Espruino (ASL)
16mRun Your JS App For Years On A Single Coin Cell
54mRunning JS engine on a microcontroller (UK)
