Skip to content

JavaScript binding #855

Description

@vaultec81

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions