containers / containers/crun

FYI - Experimenting with wasm support via Node.js

Open
#1,040 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4.1k
Forks
444
Avg merge
1d 18h
Merged PRs (30d)
43

Description

As an FYI I've been experimenting with wasm support via Node.js in a similar manner to how it is provided with wasmtime, wasmedge etc.

My experiement is here: https://github.com/mhdawson/crun/tree/node-wasm-experiment

An overview of how to build and try it out is in: https://github.com/mhdawson/crun/blob/node-wasm-experiment/NODE-WASM_EXPERIMENT.md

It's uses code from a PR not landed yet in Node.js since the Node.js embedder API does not have a C interface at this point so it's not ready/suitable for a PR, but was an easier way for me to experiment/prove out the concept.

So far I've only tried it out with Hello World, trying out example that use more of the WASI interfaces is a next step.

@font

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.