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

Replace the p2p-loader with IPFS #638

Open
tomaka opened this issue Dec 20, 2020 · 1 comment
Open

Replace the p2p-loader with IPFS #638

tomaka opened this issue Dec 20, 2020 · 1 comment
Labels
A-modules Concerns a WASM program A-p2p Issues concerning the peer-to-peer network

Comments

@tomaka
Copy link
Owner

tomaka commented Dec 20, 2020

The current peer-to-peer loaded uses a custom peer-to-peer network because it's simple to implement.
IPFS, due to its popularity, seems like a better choice for publishing modules. The tooling is already there, and filecoin is now a thing as well.

There exists a rust-ipfs project, but it can't really be compiled to wasi because wasi doesn't support sockets (the compilation should succeed, but it can't work).

Once sockets are supposed, we can think of switching.

@tomaka tomaka added A-modules Concerns a WASM program A-p2p Issues concerning the peer-to-peer network labels Dec 20, 2020
@tomaka
Copy link
Owner Author

tomaka commented Dec 27, 2020

Major difficulty is that rust-ipfs uses tokio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-modules Concerns a WASM program A-p2p Issues concerning the peer-to-peer network
Projects
None yet
Development

No branches or pull requests

1 participant