Skip to content

Conversation

@kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Oct 1, 2024

The old Runtime-based API family has the following problems:

  • A runtime is always associated with a single Store
  • Entities to be imported at instantiation are held by Runtime. We should allow specifying imports per instantiation.
    • Holding imported entities in Runtime makes the future async suspendable support
  • There are two function concepts: HostFunction and Function even though they both are lowered into InternalFunction at runtime.

This PR adds a brand new Engine API family to replace Runtime APis

@kateinoigakukun kateinoigakukun marked this pull request as ready for review October 1, 2024 19:17
@kateinoigakukun kateinoigakukun merged commit b299db9 into main Oct 1, 2024
9 checks passed
@kateinoigakukun kateinoigakukun deleted the katei/vmgen-imm branch October 1, 2024 19:32
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

Successfully merging this pull request may close these issues.

2 participants