Upgrade to Pro — share decks privately, control downloads, hide ads and more …

BayNode Meetup June 2014

BayNode Meetup June 2014

Tim Cameron Ryan

June 20, 2014
Tweet

More Decks by Tim Cameron Ryan

Other Decks in Technology

Transcript

  1. Embedded JavaScript: The skills you have in 2014 will be

    all you need to make physical devices Tim Ryan, Co-Founder / Developer Technical Machine
  2. Tessel is a WiFi-enabled microcontroller that runs JavaScript. Tim Ryan,

    Co-Founder / Software Developer Technical Machine
  3. Future<byte[]> p = pool.submit(new Callable<byte[]>() { public byte[] call() {

    return socket.recv(); } } // ... while waiting ... p.get();
  4. • Chrome’s JS engine • C++ • ~10mb memory required

    for each instance • POSIX/Win32 environment
  5. • Embeddable language • Written in C • ~30kb memory

    • Highly portable • 10x-100x slower
  6. JS VM HTTP Parsing DNS SSL Memory management Filesystem Tar

    JSON Unicode TCP/IP tessel/colony wecing/utf8proc lloyd/yajl bagder/c-ares dsheets/axtls joyent/http-parser abbrev/fatfs colorer/dlmalloc
  7. It’s becoming feasible to embed in every product a microcontroller

    powerful enough to run a high level language.