Skip to content

Use Wasm for plugin mechanism #40

@eduardomourar

Description

@eduardomourar

Is your feature request related to a problem?
Currently, plugins for Smithy can only be developed in Rust, but I would like to use TypeScript (AssemblyScript) instead.

Describe the solution you'd like
By using a different plugin system based on Wasm [1], any language that can target WebAssembly (which includes Rust) can be used to extend Smithy. It is important to note that Rust provides first class support for WebAssembly [2] and that others have used that same mechanism successfully [3] [4].

Describe alternatives you've considered
You can find a few alternatives with explanations in this blog post [4].

Additional context
[1] https://webassembly.org/
[2] https://sendilkumarn.com/blog/rustwasm-introduction/
[3] https://istio.io/latest/docs/concepts/wasm/
[4] https://nullderef.com/blog/plugin-tech/#wasm

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions