Jerry Script a JavaScript interpreter, which also well recognized as the JS engine for the IOT, is now stable in its 1.0 release. Samsung developed Jerry script as the JavaScript engine for embedded devices. Jerry script is designed to run on very constrained devices like microcontrollers, many other JavaScript engines available in the market, but Jerry Script has the gain of having support from Samsung and Jerry Script performance also good.
Jerry script is tiny,It requires Ram less than 64KB for the engine, like its competitors such as MuJS,tiny-js and Ducktape.The code for the engine also accommodates less than 200KB of ROM.
The on-device compilation,execution and access to peripherals from javascript are also supported by Jerry Script.1.0 release offer full ECMAScript5.1standard compliance and it has a binary size of 160KB when compiled for ARM Thumb-2.It is written in C99 for maximum portability and offers snapshot support for precompiling javascript source code to byte code.
The stable 1.0 release officially supports platforms like :
1. x86-32, x86-64, and ARMv7 Linux
2. NuttX on STM32F4
3. RIOT on STM32F4
4. Zephyr on Arduino 101 and FRDM-K64F
5. mbed OS 3.0 on FRDM-K64F, STM32F4, STM32F429ZI, F401RE
6. Curie BSP on Arduino 101
JerryScript has also experimental support for ESP8266(a low-cost wifi chip with a full TCP/IP stack and microcontroller). Samsung has also developed IOT.js,an IOT framework which is built on JerryScript; and lbuv, an event driven cross-platform asynchronous I/O model similar to node.js which allow developers to create IoT services that communicate with each other and outside world.Presently IOT runs on real-time Linux and NutX –which also targets on other OS like Raspberry Pi2 and an ST board,with plans for MCUs and IoT devices.
Leave a Reply
Your email address will not be published. Required fields are marked *