Refactor runtime #21
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: canary/canary-rs#21
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ScriptAbi
/ScriptAbiImpl
are overcomplicated and mocks should be data-oriented instead of trait-oriented. The generics inWasmtimeRuntime
are a pain in the ass for using the API. It is difficult (in theory, because the only backend is Wasmtime right now) to share data between backends without duplicating code.PanelId
is clunky to use directly.backends
module for different runtime backends.Backend
andInstance
traits for backend scripting implementations.backends::wasmtime
and implement backend traits.Runtime
struct that uses dynamic trait boxes for the backend.