Stream: general

Topic: Real-world WASM/WASI applications


view this post on Zulip Alessio Pavoni (Mar 31 2025 at 15:33):

Hello everyone!

I am investigating the WAMR runtime and Wasm applications used in real-world scenarios.
I would need a big pool of apps compiled to Wasm/WASIp1 (since WAMR does not support Component Model yet), possibly with their source code too. I have been trying to compile C/C++ and Rust projects from GitHub, but I have only managed to get something like 30 apps.
Are you aware of some open-source projects or already compiled Wasm modules that might be useful?
Any help would be great!

Thank you in advance! :grinning_face_with_smiling_eyes:

view this post on Zulip Andrew Brown (Mar 31 2025 at 16:44):

You may find some as benchmarks in https://github.com/bytecodealliance/sightglass.

A benchmark suite and tool to compare different implementations of the same primitives. - bytecodealliance/sightglass

view this post on Zulip Alessio Pavoni (Mar 31 2025 at 20:39):

Thank you @Andrew Brown , I will look at your suggestion.
As of full apps, rather than benchmarks, is there something you could suggest as well?

view this post on Zulip Alessio Pavoni (Mar 31 2025 at 20:53):

I checked the apps you suggested and unfortunately they don't run with WAMR, which lacks simd feature :pensive:

view this post on Zulip Andrew Brown (Mar 31 2025 at 21:07):

I believe WAMR does support SIMD, though, so there may be some flag you need? @Wang Xin? @Alessio Pavoni, what do you mean by "apps" here?

view this post on Zulip Alessio Pavoni (Mar 31 2025 at 21:25):

I get WASM module load failed: v128 value type requires simd feature when running WAMR with SGX, I don't see the same error when using regular WAMR but rather a bunch of fast jit compilation failed: Error: unsupported opcode errors, I imagined it stemmed from the same thing.

By "apps" I mean complete software that is being compiled to WASM. So far, I have database apps (SQLite), compression engines (FFmpeg), speech synthesis engines (Flite)... I have been looking for these pieces of software in GitHub, but the process of finding good ones that are compilable to WASM is very tiring and time-consuming.
Ideally, but not exclusively, I am looking for code with a CLI that I can use in WASM as I would do (or almost, if some features are not compilable) in native.


Last updated: Apr 07 2025 at 13:10 UTC