Integration of WebAssembly in Performance-critical Web Applications
Keywords:
WebAssembly, high-performance web applications, compilation, WASI, WebGPU, cross-language integration, IoT, performance optimizationAbstract
This article explores the integration of WebAssembly into high-performance web applications as a response to the increasing demands for computational power, scalability, and security in the rapidly evolving landscape of web technologies and the Internet of Things (IoT). The study substantiates the relevance of transitioning from traditional JavaScript to WebAssembly, which allows code written in C/C++ or Rust to be compiled into a compact binary format, delivering near-native execution speed. The article analyzes the architecture of WebAssembly, its advantages, and its integration potential with other technologies, such as WebGPU for accelerated parallel computations. Special attention is given to the current limitations of WebAssembly (e.g., the lack of native garbage collection, debugging difficulties, and challenges in cross-language integration) as well as its promising development directions, including the standardization of WASI and enhancements through multithreading and SIMD support. In comparative experiments on 1024 × 1024 matrix multiplication, the SIMD?enabled WebAssembly module with block?optimized memory access outperformed the optimized JavaScript implementation by 1.64 × and delivered a 4 × improvement over the unvectorized Wasm build, while offloading computations to WebGPU achieved an ~50?fold reduction in execution time for both JavaScript+WebGPU and Wasm+WebGPU configurations. These results substantiate that the integration of WebAssembly and WebGPU brings near?native and GPU?accelerated performance to browser?based applications, laying a quantitatively validated foundation for high?load web and IoT systems.The paper demonstrates a way to accelerate client data processing using a combination of Web Assembly and Web GPU. The results of a comparative experiment are presented. This article will be of interest to professionals in web development and systems architecture who aim to optimize computational workflows and maximize the performance of modern web applications via WebAssembly. Additionally, the material provides valuable insights for researchers engaged in the analysis and development of advanced methodological approaches to optimizing high-load information systems.
References
. Odume B. W., Okodugha P. E., Madu I. Leveraging WebAssembly and webgpu for efficient integration of ai models into web applications //Available at SSRN 5078445. – 2024. – pp.1-17.
. Ray P. P. An overview of WebAssembly for IoT: Background, tools, state-of-the-art, challenges, and future directions //Future Internet. – 2023. – Vol. 15 (8). – pp. 275.
. Kim J. et al. Hardware-Based WebAssembly Accelerator for Embedded System //Electronics. – 2024. – Vol. 13 (20). – pp. 3979.
. Kyriakou K. I. D., Tselikas N. D. Complementing javascript in high-performance node. js and web applications with rust and webassembly //Electronics. – 2022. – Vol. 11 (19). – pp. 3217.
. Perrone G., Romano S. P. WebAssembly and Security: a review //Computer Science Review. – 2025. – Vol. 56. – pp. 1-10.
. Ramirez C. E., Sermet Y., Demir I. HydroCompute: An open-source web-based computational library for hydrology and environmental sciences //Environmental Modelling & Software. – 2024. – Vol. 175. – pp. 1-15.
. Zhang Y. et al. Research on WebAssembly Runtimes: A Survey //ACM Transactions on Software Engineering and Methodology. – 2024. – pp.2-13.
. Wang W. Empowering web applications with webassembly: Are we there yet? //2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE). – IEEE, 2021. – pp. 1301-1305.
. Dejaeghere J. et al. Comparing security in ebpf and webassembly //Proceedings of the 1st Workshop on eBPF and Kernel Extensions. – 2023. – pp. 35-41.
. Hoque M. N., Harras K. A. Webassembly for edge computing: Potential and challenges //IEEE Communications Standards Magazine. – 2023. – Vol. 6 (4). – pp. 68-73.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 American Scientific Research Journal for Engineering, Technology, and Sciences

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who submit papers with this journal agree to the following terms.