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

[💡 FEATURE REQUEST]: WASM-based extensions #2045

Open
rustatian opened this issue Nov 11, 2024 · 0 comments
Open

[💡 FEATURE REQUEST]: WASM-based extensions #2045

rustatian opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
C-feature-request Category: feature requested, but need to be discussed

Comments

@rustatian
Copy link
Member

Plugin

None

I have an idea!

Crazy idea, but why not. The current problem is that RR supports only plugins which are written in Golang. What if we go beyond and think about WIT (Wasm) and wasm-based-modules. Having a good interface written in WIT (https://component-model.bytecodealliance.org/design/wit.html) we basically would be able to connect plugins written in any language which supports WASM and WIT. The good example is how Zed editor handles extensions: blog. In the same way, we'd be able to connect any extension to RR.
The issue is, that in Go, unlike Rust, WIT is not fully supported yet.
Having such extensions, we'd be able to have middleware in PHP for example, or better gRPC streaming integration an so on.

@rustatian rustatian added the C-feature-request Category: feature requested, but need to be discussed label Nov 11, 2024
@rustatian rustatian self-assigned this Nov 11, 2024
@rustatian rustatian moved this to 🔖 Ready in Jira 😄 Nov 11, 2024
@rustatian rustatian pinned this issue Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: feature requested, but need to be discussed
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant