Score: 0

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

Published: November 11, 2025 | arXiv ID: 2512.00035v1

By: Mislav Has , Tao Xiong , Fehmi Ben Abdesslem and more

Potential Business Impact:

Lets code run on many different small devices.

Business Areas:
Wearables Consumer Electronics, Hardware

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.

Page Count
7 pages

Category
Computer Science:
Hardware Architecture