Lune

INFOCOM2021Top-tier venue

WiProg: A WebAssembly-based Approach to Integrated IoT Programming

Borui Li, Wei Dong, Yi Gao

Abstract

Programming a complete IoT application usually requires separated programming for device, edge and/or cloud sides, which slows down the development process and makes the project hardly portable. Existing solutions tackle this problem by proposing a single coherent language while leaving two issues unsolved: efficient migration among the three sides and the platform dependency of the binaries.

We propose WIPROG, an integrated approach to IoT application programming based on WebAssembly. WIPROG proposes an edge-centric programming approach that enables developers to write the IoT application as if it runs on the edge. This is achieved by the peripheral-accessing SDKs and annotations specifying the computation placement. WIPROG automatically processes the program to insert auxiliary code and then compile it to WebAssembly. At runtime, WIPROG leverages dynamic code offloading with compact memory snapshotting to achieve efficient execution. WIPROG also provides interfaces for the customization of offloading policies. Results on real-world applications and computation benchmarks show that WIPROG achieves an average reduction by 18.7% 54.3% and 20.1% 57.6% in terms of energy consumption and execution time.

We thank all the reviewers for their valuable comments and helpful suggestions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LinkLab 2.0: A Multi-tenant Programmable IoT Testbed for Experimentation with Edge-Cloud Integration cites TinyLink 2.0: integrating device, cloud, and client development for IoT applications
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. WADIFF: A Differential Testing Framework for WebAssembly RuntimesShiyao Zhou, Muhui Jiang, Weimin Chen, Hao Zhou et al.ASE 2023 · 14 citations
  2. Revealing Performance Issues in Server-Side WebAssembly Runtimes Via Differential TestingShuyao Jiang, Ruiying Zeng, Zihao Rao, Jiazhen Gu et al.ASE 2023 · 12 citations
  3. WaDec: Decompiling WebAssembly Using Large Language ModelXinyu She, Yanjie Zhao, Haoyu WangASE 2024 · 9 citations
  4. LinkLab 2.0: A Multi-tenant Programmable IoT Testbed for Experimentation with Edge-Cloud IntegrationWei Dong, Borui Li, Haoyu Li, Hao Wu et al.NSDI 2023 · 9 citations
  5. Edge-RT: OS Support for Controlled Latency in the Multi-Tenant, Real-Time EdgeWenyuan Shao, Bite Ye, Huachuan Wang, Gabriel Parmer et al.RTSS 2022 · 6 citations

Builds on1

  1. TinyLink 2.0: integrating device, cloud, and client development for IoT applicationsGaoyang Guan, Borui Li, Yi Gao, Yuxuan Zhang et al.MobiCom 2020 · 17 citations

Related papers

  1. Wasm-R3: Record-Reduce-Replay for Realistic and Standalone WebAssembly BenchmarksDoehyun Baek, Jakob Getz, Yusung Sim, Daniel Lehmann et al.OOPSLA 2024 · 6 citations
  2. Scalable edge-based hyperdimensional learning system with brain-like neural adaptationZhuowen Zou, Yeseong Kim, Farhad Imani, Haleh Alimohamadi et al.SC 2021 · 70 citations
  3. Understanding In-Situ Programming for Smart Home AutomationXiaoyi Liu, Yingtian Shi, Chun Yu, Cheng Gao et al.UbiComp 2023 · 17 citations
  4. Bringing Managed Language Support to WebAssembly with External Library LinkingShuyao Jiang, Ruiying Zeng, Yangfan Zhou, Michael R. LyuFSE 2026
  5. APEROL: Adaptive Parallel Edge-to-Cloud Runtime Optimization for Layered Workflow ExecutionDimitrios Banelas, Alkis Simitsis, Nikos GiatrakosVLDB 2026
Dusk over the sea between two cliffs drawn in fine vertical lines