kuniga.me > NP-Incompleteness

NP-Incompleteness

Tokio: Dial9

25 Nov 2026
Tokio logo

Dial9 is a Tokio runtime tracer. It can be used to record events related to Tokio operations and display them in a Gantt chart to help make sense of the execution. Russell Cohen created Dial9 at AWS and released it in March 2026, so it’s pretty recent!

This post is part of a series of posts on Tokio. We’ll study Dial9’s UI and how it works behind the scenes at a high level.

Continue reading...

Tokio: Synchronous Execution

23 Nov 2026
Tokio logo

This is the third post in our series about Tokio, a popular Rust library for writing and running asynchronous code. The other posts in the series are:

  • Overview - covering Tokio’s primitives and how Rust’s await works
  • Scheduling - how asynchronous work is scheduled in Tokio

In this post, we’ll talk about synchronous execution. While Tokio is meant for asynchronous code such as I/O, we occasionally need to interleave it with blocking, CPU-bound work, which can lead to subpar performance if scheduled as asynchronous work.

Continue reading...

Tokio: Scheduling

17 Nov 2026
Tokio logo

This is the second post in our series about Tokio, a popular Rust library for writing and running asynchronous code. In the first post we learned a bit about Tokio’s primitives and how Rust’s await works.

In this post we’ll dive into Tokio’s scheduler, in particular the multi-threaded model.

Continue reading...

Leaving Meta

06 Nov 2026
AI-generated image of a person waving farewell to a company's office

A few weeks ago I left Meta (prev. Facebook). In this post I reflect on my time there, especially projects and lessons learned. I’ll bias towards more recent projects because I remember them in more detail.

I always refrained from talking about my work projects on my blog to reduce the risk of any accidental leak, even though I always worked on internal tools and infrastructure, so nothing particularly confidential. Now I can be more open about the projects I worked on and link back to posts I wrote related to them during the time. This is a long post, detailing 14 years of work.

Continue reading...

Tokio: Overview

06 Oct 2026
Tokio logo

Tokio is a Rust library for writing and running asynchronous code. It was started by Carl Lerche, Alex Crichton, and Aaron Turon in 2017, interestingly even before Rust had the async / await syntax.

I plan to do a series of posts on Tokio. In the first installment, we provide an overview of Tokio, focusing on the user-facing semantics, covering enough detail so that it doesn’t feel like magic.

Continue reading...

Visit archive to see all posts...

Sub-pages