-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Plugings using wasm #10054
Comments
@gedw99 we are not intrested in wasm for the sake of having wasm. We would review each plugin usecase one by one. What would like to do with a wasm plugin ? |
Note about https://github.com/ipfs/kubo/blob/master/docs/experimental-features.md#plugins, this can't work for wasm plugins, this is using golang's builtin We don't have the resource to enginer a complex solution that would modify go's runtime to permit to do that. Thus that why if usecases needs to be viewed one by one. |
Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days. |
P2p computing where you bring the compute to the data . |
That is different from plugins and require widely different technical works: trusted vs untrusted code, state and lifecycle are completely different. Here we are looking for API and technical designs of what we would implement. |
@gedw99 building off of @Jorropo's comments above you can already build a number of different plugins using these interfaces https://github.com/ipfs/kubo/blob/master/docs/plugins.md#plugin-types and have the plugin use a WASM runtime and dynamically load and execute code for you if you'd like. So if you're looking for something more that would mean describing something specific in order to match.
For example:
Which is why
If you're looking for more general community feedback on what using kubo + WASM together might look like https://discuss.ipfs.tech/ or some of the community chat channels are probably better places to start. |
Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days. |
This issue was closed because it is missing author input. |
Checklist
Description
RE: https://github.com/ipfs/kubo/blob/master/docs/experimental-features.md#plugins
Wazero is 100% golang and can run wasm on anything. even mobile.
Making plugins that are compiled to wasm is pretty easy these days, as well as how they are exposed.
for a P2P system it also means that you don't need to trust the plugins because they are sandboxed.
lots of wazero frameworks out there too: https://github.com/tetratelabs/wazero/blob/main/site/content/community/users.md?plain=1
The best one that i use is https://docs.timecraft.dev
code: https://github.com/stealthrocket/timecraft
can be bound to file systme or network with decent control.
The text was updated successfully, but these errors were encountered: