tokio

Tag

Cards List
#tokio

Who Runs Your Rust Future? Hands-On Intro to Async Rust

Hacker News Top · 2026-06-08 Cached

A hands-on tutorial series that bridges the gap between understanding async Rust internals (Future, poll, Pin, executor) and shipping real async code with Tokio, aimed at developers familiar with JavaScript async and basic Rust.

0 favorites 0 likes
#tokio

The hidden cost of mpsc channels

Lobsters Hottest · 2026-05-12 Cached

This article analyzes unexpected memory allocation costs in Tokio's mpsc channels in Rust, revealing a fixed overhead per channel due to internal block sizing. It demonstrates how this impacts large-scale applications like Agent Gateway and suggests alternatives like futures-channel for memory efficiency.

0 favorites 0 likes
← Back to home

Submit Feedback