A comparative analysis between Lua interpreter variants compiled to WASM, JavaScript and native

Web technologies are essential players today. Being available in an almost ubiquitous way and well-standardized, they now can provide a reliable way to run different applications on different platforms without a significant discrepancy in their execution. In recent years, several developments now al...

Full description

Saved in:
Bibliographic Details
Published in:2024 IEEE International Conference on Consumer Electronics (ICCE) pp. 1 - 5
Main Authors: Klehm, Volnei Da Silva, Sardinha, Eduardo Drumond, Junior, Vicente Ferreira de Lucena, Mendonca-Neto, Rayol, Cordovil, Luiz
Format: Conference Proceeding
Language:English
Published: IEEE 06-01-2024
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Web technologies are essential players today. Being available in an almost ubiquitous way and well-standardized, they now can provide a reliable way to run different applications on different platforms without a significant discrepancy in their execution. In recent years, several developments now allow the execution of programs not initially designed for Web on standardized internet browsers. WebAssembly and JavaScript are well-known ways to achieve this result. C/C++ programs are known to be fast and light, but how well can WebAssembly and JavaScript perform with this kind of application compared to Native execution? This paper will answer this question for a specific Lua interpreter implementation commonly used on digital television platforms. And thus, it should be available on many different platforms, from Set-Top-Boxes to Smartphones from many manufacturers. We expect to provide valuable insights to anyone considering migrating a C/C++ code to WebAssembly or JavaScript and the pros and cons of this approach over developing natively for the platform.
ISSN:2158-4001
DOI:10.1109/ICCE59016.2024.10444429