logoalt Hacker News

StartingAbusine • today at 6:13 AM • 2 replies • view on HN

Why native code?

I would think this could be done completely in the browser using WebRTC?


Replies

kennywinker • today at 6:25 AM

Iroh networking isn’t available in browser, and presents some cool ways to link things together - i suspect the connection by using iroh is more robust and solid than webrtc, but i’m just guessing.

➕ show 2 replies
thejazzman • today at 8:53 PM

the tl;dr seems to be simply that it wasn't implemented yet

i've been pretty interested in this as well and got this snippet from chatgpt: `So could Iroh add direct browser-to-native connections without a proxy? Yes, by adding WebRTC support to the native side as well. Iroh’s own browser roadmap describes that approach and identifies the additional native WebRTC stack as a significant dependency cost. It does not describe a fundamental impossibility.`

i may take a stab at adding this functionality soon