JavaScript for embedded?

JavaScript for embedded?

  • Comments 2

Absolutely! I've just had a busy week after coming back from OSCON 2012 where I was happily greeted by a room full of spontaneous applause in showing exactly that---using JavaScript for embedded design. "How on earth could JavaScript make sense for embedded?" you might ask. Well, it's being done all over the place in mobile phones these days and its even part of development tools that target embedded devices, such as QML. What is best to keep in mind is that JavaScript is acting as asynchronously-embedded-glue, a purpose for which it is well-designed.

Below are my slides, but note that these slides were originally presented interactively---hosted by a BeagleBone and dynamically updating what you see on the screen and the behavior of IOs on the board. The best way to experience them is to acquire a BeagleBone (from one of several distributors), download the source and run it for yourself. The exact version of the slides are on the oscon-2012 branch. By default, the BeagleBone will serve you up a version of these slides by simply pointing your browser at the board.

Slides:


While JavaScript is not suitable for every embedded programming task, it provides a flexible and readable language that is useful for learning embedded Linux. While Bonescript is in the pre-R&D phases right now, I'll be continuing to evolve Bonescript into a self-documenting library for marrying web-based user interactions with physical-world interactions in the comfortable style of Arduino-like function calls. The future also holds support for programming interactions in other languages while maintaining the simplicity expected from such a project. Hope you are looking forward to it!
  • goode

  • what a great idea ! I hope it will more popular in the future.