Wasm Workers Server 1.0: support for Python and Ruby
ByAngel M Miguel
At
2023 / 0215 mins reading
Wasm Workers Server is a WebAssembly framework to develop and run serverless applications. It aims to bring the benefits of WebAssembly to your apps without changing your development workflow. If you are new to Wasm Workers Server, here you have a quick 5 minutes introduction.
In v1.0.0, you can now write Workers-based applications in additional dynamic languages: Ruby and Python. Before, wws only identified .wasm modules and .js files as workers. Now, you can extend the supported languages by installing language runtimes locally.
By default, wws relies on the WebAssembly Languages Runtimes project, which has support for Python, Ruby, and PHP. From the wws CLI, you can list, install and use the available language runtimes and start creating new workers.
Can't wait to try it? Just update or install wws and try the new runtimes command:
curl -fsSL https://workers.wasmlabs.dev/install | bash && \ wws runtimes list
You will get the list of available language runtimes:
⚙️ Fetching data from the repository... ┌────────┬─────────┬───────────────────┬───────────┬─────────────┐ │ Name │ Version │ Tags │ Extension │ Binary │ ├────────┼─────────┼───────────────────┼───────────┼─────────────┤ │ ruby │ 3.2.0 │ latest, 3, 3.2.0 │ rb │ ruby.wasm │ ├────────┼─────────┼───────────────────┼───────────┼─────────────┤ │ python │ 3.11.1 │ latest, 3, 3.11.1 │ py │ python.wasm │ └────────┴─────────┴───────────────────┴───────────┴─────────────┘
The v1.0.0 version comes with more features. For example, we introduced dynamic routes and several bug fixes. We will dig into all of them in this article. If you prefer a video version, you can check all the new features on Youtube 👇
Do you want to stay up to date with WebAssembly and our projects?