Skip to content

Loading additional WASM modules #35

@corani

Description

@corani

I was playing around with qjs and it's pretty cool being able to call back and forth between JavaScript and Go code. I don't have a real use-case for it, so take it with a grain of salt, but I was wondering if it would be possible to support loading additional WASM modules that could be called from the JavaScript code.

I had a look around the code and didn't see an obvious way, the only workaround I could think of was to create an additional Wazero Runtime and wire that up with some proxy methods (which I did here: https://github.com/corani/qjs-wasm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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