Real-time applications are novelty on the web (also in case web programming). Node.js thanks to its architecture (it is a platform and not the framework) allows you to create applications that allow to deliver information immediately. Here are some of the possible applications:
– Vehicle navigation systems (e.g. google map navigations)
– communications with I/O devices (e.g.: systems for smart homes, medical devices for diagnosis of patients)
– robotics and microcontroller
In this artice I’m going to focus on microcontrollers and robotics. Node is good at this and not just for web, but also other I/O heavy applications. Acronym for a this types of applications Node is designed as DIRT (Data Intensive-Real Time Applications). Node itself is very lightweight on I/O and it allows a server to hold open a number of connections while handling many requests and keeping a small memory footprint.
A very good example of a DIRTy application is Johnny-Five project created for Real Time solutions to applications in robotics, microcontrollers (http://johnny-five.io/). The Johhny-Five project uses Node for robotics applications, using event emitters to control Arduino microcontrollers.
But not only Arduino microcontroller uses node.js. Giant computer hardware – Intel is seriously committed to research and work on microcontrollers to the cooperation with node.js (http://www.intel.com/content/www/us/en/do-it-yourself/galileo-maker-quark-board.html). The Intel® Galileo board is a microcontroller board based on the Intel® Quark SoC X1000 application processor, a 32-bit Intel® Pentium® brand system on a chip (SoC). It is the first board based on Intel® architecture designed to be hardware and software pin-compatible with shields designed for the Arduino Uno* R3.
Another projects involved in microcontrollers & node.js:
- BeagleBone Black (http://beagleboard.org/black)
- Tessel. (https://tessel.io/)
- Rasberry Pi (https://www.raspberrypi.org/)
Additionally, above-mentioned projects use Engine V8 as JS Runtime.