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

JavaScript binding #855

Open
vaultec81 opened this issue Jan 15, 2024 · 0 comments
Open

JavaScript binding #855

vaultec81 opened this issue Jan 15, 2024 · 0 comments

Comments

@vaultec81
Copy link

This might start off as a bit outlandish and redundant considering there is a native webassembly runtime in nearly all Javscript runtimes. Let me explain. To my knowledge, the default webassembly runtime in Javascript does not support metering, a critical function in running deterministic/safe webassembly code. This is a pretty critical limitation of the native webassembly runtime. And in my use case in particular it's a major issue.

What's stopping fizzy from being compiled into a binding for JS and act as a rough drop in replacement for the native Webassembly runtime? I'd imagine it would still require a considerable amount of work to get everything working, but is there anything that would completely prevent such a thing from being developed?

I'm open to any alternative approaches to doing metering of WASM within a JS context as well.

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

1 participant