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

[native] JS runtime #12

Open
olanod opened this issue Dec 4, 2020 · 1 comment
Open

[native] JS runtime #12

olanod opened this issue Dec 4, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@olanod
Copy link
Member

olanod commented Dec 4, 2020

With the help of deno-core we can bring a V8 powered JS runtime to the server side to be able to write and run plugins in JavaScript and WASM. Ideally the runtime should support all the APIs available to Web Workers in the browser but we can start simple and support some basic web APIs and fetch, sadly it's still not straight forward to extract the Worker environment out of Deno so the initial implementation will have a reduced API surface and possibly not even import other modules.

@olanod olanod added the enhancement New feature or request label Dec 4, 2020
@olanod
Copy link
Member Author

olanod commented Dec 21, 2020

Recently the Deno team released the deno-runtime crate in response to this issue. Now it's much easier to bring the JS runtime to Valor than using deno-core directly.

@olanod olanod added this to the v1.0 milestone May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant