-
Notifications
You must be signed in to change notification settings - Fork 178
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
Build Web Assembly #1803
Comments
Currently |
Quinn recommends WebTransport for browser WebAssembly environment. |
Last comment in that thread says:
And https://developer.chrome.com/docs/capabilities/web-apis/webtransport indicates that all major browsers other than Safari support it now. So ... how more or less one would go about it? |
Does |
We have a plan for getting iroh to
But for the first iteration - that will require that the browser node is permanently connected to an iroh relay node & forwarding traffic over that. IIUC (I'm fairly new to the project), @Voronar is spot on. Our current plan is websockets + relay, and later potentially trying WebRTC data channels for peer-to-peer connections. Some of us have looked at WebTransport and found that it probably won't work. |
How does webtorrent works? Is it not client and server at the same time? |
Also wasm doesn't mean only for browser environment, Iroh need to also support edge serverless computing like wasmedge, spin or everywhere computer |
We did this with I'm here because I stumbled upon Ideally I'd use the On the server side you might consider str0m for WebRTC as it's sans-io, though less mature than webrtc-rs it may be easier to work with in the long run. One last random point that I'll note on wasm is that we will eventually be moving toward WebAssembly Component Model which uses wasm interface types (WIT) which is what spin and everywhere comp are built upon. It's still early (v0.2.0) but it might be worthwhile to look down the road at what Wasm is going to look like in a year or two and design around that. |
Closing in favor of a unified issue: #2799 |
Try to run :
The text was updated successfully, but these errors were encountered: