JerryScript is an ultra-lightweight
JavaScript
JavaScript (), often abbreviated as JS, is a programming language and core technology of the World Wide Web, alongside HTML and CSS. Ninety-nine percent of websites use JavaScript on the client side for webpage behavior.
Web browsers have ...
engine for the
Internet of things
Internet of things (IoT) describes devices with sensors, processing ability, software and other technologies that connect and exchange data with other devices and systems over the Internet or other communication networks. The IoT encompasse ...
. 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
GitHub () is a Proprietary software, proprietary developer platform that allows developers to create, store, manage, and share their code. It uses Git to provide distributed version control and GitHub itself provides access control, bug trackin ...
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.
Key characteristics of JerryScript
* Full
ECMAScript 5.1 standard compliance
* 170K binary size when compiled for
ARM Thumb-2
ARM (stylised in lowercase as arm, formerly an acronym for Advanced RISC Machines and originally Acorn RISC Machine) is a family of reduced instruction set computer, RISC instruction set architectures (ISAs) for central processing unit, com ...
* Heavily optimized for low memory consumption
* Written in
C99 for maximum portability
* Snapshot support for precompiling
JavaScript
JavaScript (), often abbreviated as JS, is a programming language and core technology of the World Wide Web, alongside HTML and CSS. Ninety-nine percent of websites use JavaScript on the client side for webpage behavior.
Web browsers have ...
source code to byte code
* Mature
C API
An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build ...
, easy to embed in applications
** Projects such as IoT.js are built on top of JerryScript
Support
* Microcontrolers:
STM32F4 ESP8266
References
{{Reflist
JavaScript engines
Internet of things