ktls now under the rustls org

Amos Wenger · 2024年9月26日

AI 摘要 AI 生成,可能有误

The author announces that ktls and ktls-sys, a pair of crates they began developing about two years ago to expose Kernel TLS offload to Rust, are now part of the rustls organization. kTLS enables the kernel—and consequently any supporting network interface—to handle encryption and framing for the entirety of a TLS connection. However, the initial TLS handshake still must be performed by a userland TLS implementation.

What’s a ktls

I started work on ktls and ktls-sys, a pair of crates exposing Kernel TLS offload to Rust, about two years ago.

kTLS lets the kernel (and, in turn, any network interface that supports it) take care of encryption, framing, etc., for the entire duration of a TLS connection… as soon as you have a TLS connection.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 fasterthanli.me

2025 Recap: so many projects

AI 摘要The author is recapping the many projects they worked on in 2025 as a way to clear their head. The first project they discuss is called facet, which they started in March of that year, noting that although only ten months have passed, it feels like an eternity.

Introducing arborium, a tree-sitter distribution

AI 摘要The author describes a discussion with the docs.rs team about why code samples are displayed in an unappealing way, prompting them to open a GitHub issue to understand the underlying reasons. Despite walking away from that discussion discouraged, they decided to ignore the existing constraints and tackle the problem from three different angles. This effort resulted in arborium, a tree-sitter distribution.

Does Dioxus spark joy?

AI 摘要The article is an adaptation of a talk given at a Rust Paris Meetup in which the speaker sets out to answer whether Dioxus, a Rust UI framework, sparks joy. The piece opens playfully, noting that Dioxus's name is 'legally not inspired by any Pokémon,' even though its author conceded in a Hacker News comment that the Pokémon Deoxys is 'awesome'.

Engineering a Rust optimization quiz

AI 摘要The author describes several online Rust quizzes, particularly the 'Unfair Rust Quiz,' which lives up to its name and is best tackled with a knowledgeable friend. For a live episode of the Self-Directed Research podcast recorded on the main stage of EuroRust 2025, the author decided to create something special: a Rust optimization quiz.

Making our own spectrogram

AI 摘要The author, who previously built a loudness meter, has now created a spectrogram visualization. The article explains how frequencies are extracted from sound waves and describes how the app is assembled from different Rust crates, including how it handles audio and graphics threads and draws the spectrogram.