Wasm Labs

Wasm Language Runtimes

Popular language runtimes (PHP, Python, Ruby, etc) compiled to Wasm

Get started


Wasm Language Runtimes is a set of precompiled language runtimes to WebAssembly. It's an open source project, so you can check the different languages, required patches and build process.




Apache License 2.0


About the project

When talking about WebAssembly, developers tend to think on compiled languages. Rust, Go, C, or Zig are great examples of languages you can compile and run as Wasm modules. But why limiting this list to compiled languages?

Most of the interpreters of other languages are based on one of those compiled languages. Running those languages in WebAssembly only requires to compile their runtime. However, this is not an easy task as dealing with compilation flags and required patches is not trivial.

In the Wasm Language Runtimes project, we aim to simplify this for you. This project contains a set of patches and automations to build different interpreted language runtimes for you:

  • PHP
  • Ruby
  • Python
  • etc

In this project you will find precompiled wasm modules for different interpreted languages and versions. We will ensure they work properly with the WebAssembly System Interface (WASI), so you can run them properly on the server side.

By providing these pre-compiled modules, we open many possibilities about running existing applications in the WebAssembly sandbox. In other words, run the code you have in a more secure way.

Learn more

To continue learning about Wasm Language Runtimes, we recommend you to check the following links:

Do you want to stay up to date with WebAssembly and our projects?