vmware-labs / webassembly-language-runtimes

Wasm Language Runtimes provides popular language runtimes (Ruby, Python, …) precompiled to WebAssembly that are tested for compatibility and kept up to date when new versions of upstream languages are released
Apache License 2.0
327 stars 27 forks source link


⚠️ This project will be archived soon. The development will continue as an independent community fork on: https://github.com/webassemblylabs/webassembly-language-runtimes


webassembly-language-runtimes

WebAssembly Language Runtimes (or WLR for short) offers pre-built wasm32-wasi binaries for language runtimes and static builds of common open source libraries.

This repository contains the build scripts and patches that are used to do those builds, as well as examples on how to use them.

Try it out

WLR is used in projects like mod_wasm for traditional deployments and Wasm Workers Server for the development of serverless apps. To get a glimpse of that you could:

The released assets are also easy to use with various platforms and tools.

If you are into porting of C-based apps to wasm32-wasi you could play with the libs.

Releases

Here is a reference to the latest releases of all built projects.

Language runtime Latest release
php 8.2.6
python 3.12.0
ruby 3.2.2
Library Latest release
libs/bundle_wlr 0.1.0
libs/bzip2 1.0.8
libs/libjpeg 2.1.5.1
libs/libpng 1.6.39
libs/libuuid 1.0.3
libs/libxml2 2.11.4
libs/oniguruma 6.9.8
libs/sqlite 3.42.0
libs/zlib 1.2.13

For developers

If you want to contribute to this project or run a build on your own machine, take a look at the ./docs/developers.md documentation.