wasmedge-quickjs icon indicating copy to clipboard operation
wasmedge-quickjs copied to clipboard

How to embed wasmedge-quickjs in a Node.js app?

Open bakhshandeh opened this issue 1 year ago • 2 comments

We want to run QuickJS apps from a Node.js app. It seems that wasmedge-core is outdated and does not support the latest version of wasmedge. Is there any solution to embed wasmedge-quickjs in Node.js?

bakhshandeh avatar Sep 04 '23 16:09 bakhshandeh

Node.js already has a built in Wasm runtime (v8). Is there a particular reason why you need WasmEdge? Thanks.

juntao avatar Sep 04 '23 17:09 juntao

Node.js already has a built in Wasm runtime (v8). Is there a particular reason why you need WasmEdge? Thanks.

We want to choose WasmEdge for two reasons:

  • We are implementing a protocol in different languages and WasmEdge is more language-agnostic than other built-in Wasm runtimes.

  • We need networking (such as an HTTP client) and some other high-level features that are easier to implement using WasmEdge plugins

bakhshandeh avatar Sep 06 '23 19:09 bakhshandeh