Skip to main content
ScaleSys 2025: 1st International Workshop on Intelligent and Scalable Systems across the Computing Continuum

WebAssembly on Resource-Constrained IoT Devices: Performance, Efficiency, and Portability

Authors: Mislav Has (Faculty of Electrical Engineering and Computing) , Tao Xiong (Tietoevry Sweden Service AB) , Fehmi Ben Abdesslem (Rise Research Institutes of Sweden AB) , Mario Kušek (University of Zagreb)

  • WebAssembly on Resource-Constrained IoT Devices: Performance, Efficiency, and Portability

    ScaleSys 2025: 1st International Workshop on Intelligent and Scalable Systems across the Computing Continuum

    WebAssembly on Resource-Constrained IoT Devices: Performance, Efficiency, and Portability

    Authors: , , ,

Abstract

The increasing heterogeneity of hardware and software in the Internet of Things (IoT) poses a major challenge for the portability, maintainability and deployment of software on devices with limited resources. WebAssembly (WASM), originally designed for the web, is increasingly recognized as a portable, secure and efficient runtime environment that can overcome these challenges. This paper explores the feasibility of using WASM in embedded IoT systems by evaluating its performance, memory footprint and energy consumption on three representative microcontrollers: the Raspberry Pi Pico, the ESP32 C6 and the nRF5340. Two lightweight WASM runtimes, WAMR and wasm3, are compared with the native C execution. The results show that while the native execution remains superior in terms of speed and energy efficiency, WASM offers acceptable trade-offs in return for cross-platform compatibility and sandbox execution. The results highlight that WASM is a viable option for embedded IoT applications when portability and security outweigh strict performance constraints, and that further runtime optimization could extend its practicality in this area.

Keywords: WebAssembly, Internet of Things, Resource-Constrained Devices, Runtime Performance, Energy Consumption

How to Cite:

Has, M., Xiong, T., Abdesslem, F. & Kušek, M., (2025) “WebAssembly on Resource-Constrained IoT Devices: Performance, Efficiency, and Portability”, IoT Workshop Proceedings 1(1), 29-35. doi: https://doi.org/10.34749/3061-1008.2025.5

Rights: Copyright © 2025 The author(s)

Downloads:
Download PDF

68 Views

16 Downloads

Published on
2025-11-18

Peer Reviewed