Performance Evaluation of Machine Learning Applications Using WebAssembly Across Different Programming Languages

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

WebAssembly (WASM) has emerged as a promising compilation target for languages traditionally not executed on the web and enable the cross-platform deployment of high-performance applications. While its general use cases have been well studied, the performance implications of executing Machine Learning (ML) workloads via WASM across different programming languages and runtime environments remain relatively unexplored. This paper presents a systematic evaluation of two representative ML models, K-Means and Logistic Regression, implemented in Python, Rust, and C++ and compiled to WASM. These models are executed in two distinct environments: a web browser and the WebAssembly System Interface (WASI), and their execution time and accuracy is compared against each programming language across both environments. This study aims to provide insight into the trade-offs and practical considerations involved in deploying ML workloads using WebAssembly across different language ecosystems and runtime configurations.

Original languageEnglish
Title of host publicationHPDC 2025 - Proceedings of the 34th International Symposium on High-Performance Parallel and Distributed Computing
PublisherAssociation for Computing Machinery (ACM)
ISBN (Electronic)9798400718694
DOIs
Publication statusPublished - 9 Sep 2025
Event34th International Symposium on High-Performance Parallel and Distributed Computing - Notre Dame, United States
Duration: 20 Jul 202523 Jul 2025

Publication series

NameHPDC 2025 - Proceedings of the 34th International Symposium on High-Performance Parallel and Distributed Computing

Conference

Conference34th International Symposium on High-Performance Parallel and Distributed Computing
Country/TerritoryUnited States
CityNotre Dame
Period20/07/2523/07/25

Keywords

  • C++
  • machine learning applications
  • Python
  • rust
  • WASI
  • wasm
  • webassembly

Fingerprint

Dive into the research topics of 'Performance Evaluation of Machine Learning Applications Using WebAssembly Across Different Programming Languages'. Together they form a unique fingerprint.

Cite this