Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: roh Clear Filter

Trying to get error backtraces in Rust libraries right

Error handling in Rust is one of those topics that can spark passionate debates in the community. After wrestling with various approaches in the iroh codebase, the team has developed some insights about the current state of error handling, the tradeoffs involved, and how to get the best of both worlds. The Great Error Handling Divide The Rust ecosystem has largely coalesced around two main approaches to error handling: The anyhow approach: One big generic error type that can wrap anything. It

Samsung says its trifold phone should launch ‘this year’

is a news editor with over a decade’s experience in journalism. He previously worked at Android Police and Tech Advisor. Yesterday’s Galaxy Unpacked event came and went without a single onstage tease of the rumored Samsung trifold phone, but the head of the company’s phone business says that it’s on the way, and due “this year.” “I expect we will be able to launch the trifold phone within this year,” TM Roh, acting head of Samsung’s Device Experience division, told The Korea Times. While the d

Iroh: A library to establish direct connection between peers

less net work for networks What is iroh? Iroh gives you an API for dialing by public key. You say “connect to that phone”, iroh will find & maintain the fastest connection for you, regardless of where it is. The fastest route is a direct connection, so if necessary, iroh tries to hole-punch. Should this fail, it can fall back to an open ecosystem of public relay servers. To ensure these connections are as fast as possible, we continuously measure iroh. Built on QUIC Iroh uses Quinn to estab