Authors:
Fernando L. Oliveira
1
;
Rafael R. Parizi
1
and
Júlio C. B. Mattos
2
Affiliations:
1
Lardev Research Group, Federal Institute Farroupilha, 305 Otaviano Mendes st, São Borja, Brazil
;
2
Technological Development Center – CDTec, 373 Gonçalves Chaves St., Pelotas, Brazil
Keyword(s):
Internet of Things, Embedded Software, JavaScript.
Abstract:
C is a compiled language traditionally used to develop Internet of Things (IoT) systems. It requires higher target domain knowledge and attention to manual issues like memory management, particularly on constrained devices. In addition, the growing complexity of applications has fostered the use of interpreted languages for programming embedded software. However, little is known about how interpreted languages improve the development of IoT software. This paper reports an experiment comparing JavaScript and C languages over performance and coding. We implemented solutions for the same problem at hand through each language, keeping the same hardware platform. As a result, we identified that the JavaScript language could be considered an alternative for the Design Space Exploration phase. Since the perceived benefits from the programmer perspective overcome the higher performance achieved in the C-based solution, collaborating to better understand the trade-off between development, mai
ntainability, and optimization on constrained devices.
(More)