-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
WebAssembly plugins system #122
Copy link
Copy link
Closed
Labels
A-pluginArea: Plugin systemArea: Plugin systemC-enhancementCategory: ImprovementsCategory: ImprovementsR-wontfixNot planned: Won't fixNot planned: Won't fix
Metadata
Metadata
Assignees
Labels
A-pluginArea: Plugin systemArea: Plugin systemC-enhancementCategory: ImprovementsCategory: ImprovementsR-wontfixNot planned: Won't fixNot planned: Won't fix
Basically load
.wasmfiles.Capabilities:
At first we could use a basic toml config file or CLI to feed .wasm files to the editor.
A way to configure permissions on a plugin basis could be investigated to use the sandboxing capabilities coming with WASM.
Example with
wasmtime:(reference)
I think the biggest challenge is to get well-defined interfaces down but let's not fear to break it during early stages.
Later we could investigate embedding a wasm-based scripting language such as Grain or AssemblyScript.
Here are some references:
wasmtimeandwasmerI'm willing to experiment soon