~/talk

Honey, I Shrunk the Scripts! — the secret life of JS on microcontrollers

Talkat JSConf.Asia 2018 · 2018-01-25..01-27· [javascript, web-performance]
slides:none on file

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

  1. 0:00Intro
  2. 0:34JAVASCRIPT ON HARDWARE
  3. 1:25ONCE UPON A TIME IN 2009..
  4. 3:52NODE ROBOTICS WITH JOHNNY FIVE
  5. 5:41NODE-SERIALPORT
  6. 6:30THE FIRMATA PROTOCOL
  7. 7:44THE TESSEL
  8. 8:09FLAKI MEETS THE HARDWARE WORLD
  9. 14:25ESPRUINO EXECUTES JAVASCRIPT ON THE DEVICE, STRAIGHT FROM SOURCE
  10. 17:05LET ME TELL YOU A LITTLE STORY ABOUT 600 LITTLE ASCII BYTES.
  11. 18:41THE V8 FUNCTION-INLINING LIMIT IS REAL
  12. 20:23V7 IS AN EMBEDDED JAVASCRIPT ENGINE
  13. 21:50MUS IS A JAVASCRIPT SUBSET ENGINE
  14. 23:53EMBEDDED EXPLORATIONS
  15. 24:22JERRYSCRIPT
  16. 25:00PREPARING YOUT FOR A DIGITAL AGE WITH THE BBC MICRO:BIT
  17. 26:41THE MAKECODE EDITOR ON THE MICROBIT
  18. 32:34INTRODUCING: CLOUDUBOY
  19. 33:51HOW ABOUT THIS?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.