Overview of JavaScript Engines for Resource-Constrained Microcontrollers

Overview of JavaScript Engines for Resource-Constrained Microcontrollers
复制标题

适用于资源受限微控制器的 JavaScript 引擎概述

DOI:
10.23919/splitech49282.2020.9243749
复制
发表时间:
2020
期刊:
2020 5th International Conference on Smart and Sustainable Technologies (SpliTech)
影响因子:
--
通讯作者:
Kai Grunert
Kai Grunert
中科院分区:
--
文献类型:
--
作者:
Kai Grunert

文献摘要

被引文献

相似文献

物联网设备通常使用小型、受限的微控制器来实现其功能。通常,它们是用C或C++等语言编程的,但有一种趋势是使用解释性语言来完成这项任务。在本文中,我们重点介绍了JavaScript。我们讨论的优点和缺点,使用这种解释语言的微控制器开发,我们给出了一个概述的可用的JavaScript引擎的约束设备,我们比较这些解释器的一般属性。一项发现表明,这些项目可以分为嵌入式解释器(JerryScript,Duktape,mJS)和独立运行时(Espruino,Moddable,Mongoose OS)。还发现口译员采用不同的架构方法。
IoT devices often use small, constrained micro-controllers to implement their functionality. Usually, they are programmed with languages like C or C++, but there is a trend to use interpreted languages for this task. In this paper, we focus on JavaScript. We discuss the advantages and disadvantages of using this interpreted language for microcontroller development, we give an overview of the available JavaScript engines for constrained devices, and we compare these interpreters' general properties. One finding shows that the projects can be divided into embeddable interpreters (JerryScript, Duktape, mJS) and standalone runtimes (Espruino, Moddable, Mongoose OS). It was also identified that the interpreters follow different architectural approaches.