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

Use WASMI with QuickJS #37

Open
felipemarts opened this issue Jun 25, 2024 · 1 comment
Open

Use WASMI with QuickJS #37

felipemarts opened this issue Jun 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@felipemarts
Copy link
Contributor

felipemarts commented Jun 25, 2024

Replace default WebAssembly runtime NodeJS for wasmi

https://github.com/justjake/quickjs-emscripten/blob/main/packages/quickjs-emscripten-core/src/from-variant.ts#L245

Read issue: #32

@felipemarts felipemarts added the enhancement New feature or request label Jun 25, 2024
@Lohann
Copy link

Lohann commented Jul 5, 2024

Just one point, WASMI is an interpreter, so you will be running an Javascript interpreter inside a webassembly interpreter, so expect the code to be at least 100x slower 😛

You can see a comparison here: https://www.youtube.com/watch?v=lCjbpryZ7LA&t=2848s

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

2 participants