MoMIT: Porting a JavaScript Interpreter on a Quarter Coin

Loading...
Thumbnail Image

Identifiers

Publication date

Reading date

Authors

Morales, Rodrigo
Saborido Infantes, Rubén
Guéhéneuc, Yann-Gaël

Collaborators

Advisors

Tutors

Editors

Journal Title

Journal ISSN

Volume Title

Publisher

IEEE (Institute of Electrical and Electronics Engineers)

Metrics

Google Scholar

Share

Research Projects

Organizational Units

Journal Issue

Abstract

The Internet of Things (IoT) is a network of physical, connected devices providing services through private networks and the Internet. The devices connect through the Internet to Web servers and other devices. One of the popular programming languages for communicating Web pages and Web apps is JavaScript (JS). Hence, the devices would benefit from JS apps. However, porting JS apps to the many IoT devices, e.g., System-on-a-Chip (SoCs) devices (e.g., Arduino Uno), is challenging because of their limited memory, storage, and CPU capabilities. Also, some devices may lack hardware/software capabilities for running JS apps “as is”. Thus, we propose MoMIT , a multiobjective optimization approach to miniaturize JS apps to run on IoT devices. We implement MoMIT using three different search algorithms. We miniaturize a JS interpreter and measure the characteristics of 23 apps before/after applying MoMIT . We find reductions of code size, memory usage, and CPU time of 31, 56, and 36 percent, respectively (medians). We show that MoMIT allows apps to run on up to two additional devices in comparison to the original JS interpreter.

Description

Bibliographic citation

R. Morales, R. Saborido and Y. -G. Guéhéneuc, "MoMIT: Porting a JavaScript Interpreter on a Quarter Coin," in IEEE Transactions on Software Engineering, vol. 47, no. 12, pp. 2771-2785, 1 Dec. 2021, doi: 10.1109/TSE.2020.2968061

Collections

Endorsement

Review

Supplemented By

Referenced by

Creative Commons license

Except where otherwised noted, this item's license is described as Attribution-NonCommercial-NoDerivatives 4.0 Internacional