JerryScript

{{Short description|Lightweight JavaScript engine}}

{{Multiple issues|

{{notability|Products|date=July 2016}}

{{refimprove|date=November 2016}}

}}

{{Infobox software

| name = JerryScript

| developer = Samsung OSG, University of Szeged

| programming language = C

| genre = JavaScript engine

| license = Apache 2.0{{cite web|url=https://raw.githubusercontent.com/jerryscript-project/jerryscript/master/LICENSE|title=LICENSE at master|publisher=Github}}

}}

{{Portal|Free and open-source software|Internet}}

JerryScript is an ultra-lightweight JavaScript engine for the Internet of things. It is capable of executing ECMAScript 5.1 source code on devices with less than 64 KB of memory.

The engine was open sourced on GitHub in June 2015. JerryScript is licensed under the Apache License 2.0. In October 2016 the JS Foundation was formed and JerryScript is one of the initial projects.{{Cite web|url=https://js.foundation/announcements/2016/10/17/Linux-Foundation-Unites-JavaScript-Community-Open-Web-Development/|title = OpenJS Foundation}}

Key characteristics of JerryScript

  • Full ECMAScript 5.1 standard compliance
  • 170K binary size when compiled for ARM Thumb-2
  • Heavily optimized for low memory consumption
  • Written in C99 for maximum portability
  • Snapshot support for precompiling JavaScript source code to byte code
  • Mature C API, easy to embed in applications
  • Projects such as IoT.js are built on top of JerryScript

Support

  • Microcontrolers: STM32F4 ESP8266{{Cite web|url=http://www.slideshare.net/SamsungOSG/introduction-to-iotjs-60814606/12|title = Introduction to IoT.JS|date = 12 April 2016}}

References