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

Engine API #132

Merged
merged 14 commits into from
Oct 1, 2024
Merged

Engine API #132

merged 14 commits into from
Oct 1, 2024

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.

1 participant