Top
Best
New

Posted by chadfowler 11 hours ago

Iroh 1.0(www.iroh.computer)
947 points | 285 commentspage 6
jbverschoor 9 hours ago|
Nice video production, but as you can see on this thread of nerds, the messaging is not clear.. Content first, presentation later.
rklaehn 8 hours ago||
We have plenty of very deep technical content on our blog, explaining features of QUIC such as 0-rtt, post-quantum key exchange, address validation tokens, embedded devices.

A great thing about iroh is that due to it being just QUIC, when you learn about iroh you also learn about details of QUIC that are useful and transferrable for traditional p2p QUIC connections.

MoonWalk 8 hours ago||
Not to mention that the title of the post doesn't even say what it is.
mcdermott 7 hours ago||
"If the implementation is hard to explain, it's a bad idea." --Zen of Python
Imustaskforhelp 11 hours ago||
Good for Iroh to have libraries within different languages.

I think that with Kotlin support, the creation of some android/multi-platform gui apps can be made easier if they want to use Iroh.

Arqu 11 hours ago|
Thanks, we agree! We used to have bindings for while but the maintenance burden at that point was too high. Now that 1.0 guarantees everyone some stability and we feel confident in the library, we have enough room to properly support it.
arianvanp 6 hours ago||
Are you able to do any form of highly available loadbalancing with this?
porsager 9 hours ago||
How is this different from https://holepunch.to/ ?
rklaehn 9 hours ago|
Holepunch, formerly hypercore, formerly dat, is a great project. Their main language is js, which makes it difficult to embed into anything but js/ts applications.

Also, they are very principled when it comes to peer to peer purity, whereas iroh is a bit more pragmatic. We use dedicated relays to faciliate hole punching, whereas holepunch tries to use other peers as a temporary relay for hole punching messages.

Another difference is that holepunch have their own DHT, where we have a less decentralised address lookup service by default and use the mainline DHT as a fully p2p alternative.

So TLDR if you are doing js in the browser, holepunch.to might be a good fit. If you work on native mobile apps or embedded devices, iroh will be better since it is pretty frugal. If you work with node.js, both will work. Just evaluate them both and use what works better for you.

E.g. we support tiny embedded devices such as esp32. https://www.iroh.computer/blog/iroh-on-esp32

porsager 8 hours ago||
Thank you so much for the great reply! Answered all my questions - will definitely look closer!
janandonly 8 hours ago||
This is big > We built & continually check that iroh can compile to WASM & run in the browser
saberience 11 hours ago||
This page is basically useless in explaining what Iroh is or does and why I should care.
bel8 11 hours ago||
As I see, it tries to explain.

But as someone who's not a network specialist, I fail to see how this is not a glorified P2P DNS.

Maybe this example helps:

https://github.com/n0-computer/iroh#rust-library

    const ALPN: &[u8] = b"iroh-example/echo/0";

    let endpoint = Endpoint::bind().await?;

    // Open a connection to the accepting endpoint
    let conn = endpoint.connect(addr, ALPN).await?;

    // Open a bidirectional QUIC stream
    let (mut send, mut recv) = conn.open_bi().await?;

    // Send some data to be echoed
    send.write_all(b"Hello, world!").await?;
    send.finish()?;

    // Receive the echo
    let response = recv.read_to_end(1000).await?;
    assert_eq!(&response, b"Hello, world!");

    // As the side receiving the last application data - say goodbye
    conn.close(0u32.into(), b"bye!");

    // Close the endpoint and all its connections
    endpoint.close().await;
dignifiedquire 10 hours ago||
I would love to see that P2P DNS you are talking about
bel8 7 hours ago||
Perhaps it doesn't exist because there's no real need.
embedding-shape 11 hours ago|||
Such is life when you choose to be introduced to something by a version update blogpost, instead of clicking in the top-left corner and reading the landing page.
SubiculumCode 10 hours ago||
Did we choose, or was that the link we were given that introduced us to it.
embedding-shape 10 hours ago||
The whole experience is fully interactive and you get to chose your own adventure! If you get lost, top-left corner is a safe bet to go to the initial page. Welcome to the internet and enjoy :)
pseudalopex 11 hours ago||
This is true. But you could click the name in the top left. Or Docs.

IP addresses break, dial keys instead

Modular networking stack for direct, peer-to-peer connections between devices

iroh establishes direct connections whenever possible, falling back to relay servers if necessary. Get fast, efficient, reliable connections that are authenticated and encrypted end-to-end using QUIC.

nicebyte 9 hours ago||
I am confused why this is needed.

> IP addresses can break, without warning, and it's outside of your device's control.

We have DNS?

> Keys, however, are created & controlled by you. They stay the same as your device moves, and are yours to throw away, or not.

So are domain names? This page does not do a good job of helping me find what it is that I'm missing.

ben-schaaf 9 hours ago||
Your phone and laptop don't have stable IPs, let alone DNS entries pointing to them.
kkapelon 9 hours ago|||
They do if you use tailscale and friends
ben-schaaf 9 hours ago||
Everyone I'd like to connect to isn't on my tailscale, nor do I want them to be.
nicebyte 6 hours ago|||
but dynamic DNS is a thing. I've had setups for it since god knows how long, though admittedly not on my phone.
guywithahat 7 hours ago||
What you're missing is that they can't charge you for IP's, and someone else already charges you for DNS/domains. They would like to replace your IP's with keys they lookup. It's a cool idea and I would expect that they'll find a market, but I'm not sure this would be a breakthrough product for me
nicebyte 6 hours ago||
that just sounds like DNS but more centralized and not super human-friendly...
28304283409234 10 hours ago|
I love it. I think. But I find it hard to parse tech videos with music in the background.
More comments...