We’re happy to announce the inclusion of Javy as a hosted project under the Bytecode Alliance. This post will delve into what Javy is, the motivation behind its adoption, and the process that led to its integration into the Bytecode Alliance.
The motivation and process behind the adoption
The process to include Javy as a hosted project involved:
- A discussion between the Bytecode Alliance’s Technical Steering Committee (TSC) and the team behind Javy, to discuss the process, requirements and expectations of granting Javy the status of a hosted project.
- A review of the requirements for hosted projects, which involved minor code changes around naming and licensing.
- Lastly, the transfer of the repository from the Shopify GitHub organization to the Bytecode Alliance GitHub organization.
The simplest way to try Javy is to invoke it through
npx javy-cli, assuming
npm is installed in your system.
Consider the following simple program, stored in a file named index.js:
To generate a WebAssembly module, run
npx javy-cli compile index.js -o
If the process is successful, you should have
index.wasm in your current working
directory, which then can be executed with Wasmtime via
index.wasm --invoke _start and you should see the string
Hello, world! printed as
For more details, please see the project’s README.
If you find a missing feature, a bug or any other kind of improvements, come talk to us on GitHub. We also have a list of good first issues if you’re interested in contributing and getting familiar with Javy.