Samsung's JerryScript Is Now Stable
Written by Alex Denham   
Friday, 09 September 2016

Samsung's JerryScript JavaScript interpreter, described as a JavaScript engine for the Internet of Things, has reached stability in its 1.0 release.

JerryScript was written by Samsung as a JavaScript engine for embedded devices. It is designed  to run on very constrained devices such as microcontrollers, and while there are a number of rival JavaScript engines aimed at similar situations, JerryScript has the advantage of having the backing of Samsung. 

jerryscriptlogo

Like its rivals such as Duktape, tiny-js and MuJS, JerryScript is small, requiring less than 64KB of RAM to be available to the engine. The code for the engine also fits in less than 200KB of ROM.

The engine supports on-device compilation, execution and provides access to peripherals from JavaScript.  The stable release offers full ECMAScript 5.1 standard compliance, and 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 officially supported platforms for the stable 1.0 release are:

  • x86-32, x86-64 and ARMv7 Linux
  • NuttX on STM32F4
  • RIOT on STM32F4
  • Zephyr on Arduino 101 and FRDM-K64F
  • mbed OS 3.0 on FRDM-K64F, STM32F4, STM32F429ZI, F401RE
  • Curie BSP on Arduino 101
There's also experimental support for ESP8266. In addition to JerryScript, Samsung is responsible for IOT.js, an Internet of Things framework built on JerryScript; and libuv, an event driven cross-platform asynchronous I/O model similar to node.js.
 
jerryscriptprototype

 

As well as stability, the big advantage this release offers is documentation. The previous release had almost no documentation, but this release has a Getting Started guide and an API reference guide with a reasonable range of code examples.

jerryscriptlogo

More Information

JerryScript.Net

Getting Started Guide

Related Articles

JerryScript Initial Release

Samsung's ARTIK Arduino Compatible From Small To Powerful 

Duktape Embeddable JavaScript Engine 

Third-Party JavaScript (book review) 

Lua 5.3 Released

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter,subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin

 

Banner


Wasmer 5 Adds iOS Support
12/11/2024

The Wasmer team has released Wasmer 5.0. The WebAssembly runtime adds experimental support for more back ends including V8, Wasmi and WAMR. It also now has iOS support, and upgraded compilers includin [ ... ]



Improved Code Completion With JetBrains Mellum
29/10/2024

JetBrains has launched Mellum, a proprietary large language model specifically built for coding. Currently available only with JetBrains AI Assistant, Mellum is claimed to provide faster, sm [ ... ]


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 09 September 2016 )