Skip to content

Webassembly API #7

@axic

Description

@axic

We had several iterations of what kind of API should be exposed to Wasm, the most comprehensive one was: https://hackmd.io/CYVghsxgpgTAtNAzAY2PALARlugHBgOyHxIBmAnAAyRZkBs9SeQA

This is slightly different to what the hypervisor has in terms of instantiation and messaging.

There are two basic options:
a) expose the hypervisor's API as-is
b) take the above API from hackmd

Option a) makes the wasm-container operate 100% like the other containers, with all the ups and downs, including being very specific to this Javascript implementation of Primea.

Option b) makes the wasm-container operate on an API set which should be fairly easy to support in other implementations.

The downside of option b) is that a new layer must be introduced which translates between code storageRef and container type and actual code path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions