Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bakhshandeh opened this issue Sep 4, 2023 · 2 comments
Open

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

bakhshandeh opened this issue Sep 4, 2023 · 2 comments

Comments

@bakhshandeh
Copy link

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?

@juntao
Copy link
Member

juntao commented Sep 4, 2023

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

@bakhshandeh
Copy link
Author

bakhshandeh commented Sep 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants