Day 18 (Advent of Code 2022)
More from fasterthanli.me
In December 2023, a minor miracle happened: async fn in traits shipped. As of Rust 1.39, we already had free-standing async functions: pub async fn read_hosts() -> eyre::ResultVecu8>> { // etc. } ...and async functions in impl blocks: impl HostReader { pub async fn read_hosts(&self) -> eyre::ResultVecu8>> { // etc. } } But...
I have obsessed about this long enough, I think it's only fair I (and you!) get some content out of it. When I started writing this article, I was working on my P99 CONF slides. Those slides happen to include some bits of code. And because I'm a perfectionist, I would like this code to be syntax highlighted, like this: Rust codelet addr:...
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. For the handshake...
It’s time for some personal and professional news!TL;DR: I started a podcast with James, I’m stable on antidepressants, I’m giving a P99 CONF about my Rust/io_uring/HTTP work, I’m trying on “they/them” as pronouns, I’m open-sourcing merde_json, rubicon and others, I got a divorce in 2023, I found a new business model.
TL;DR I purchased individual tickets for EuroRust and added my VAT number, so it could be a tax-deductible expense for me as an independent worker. The organizers reached out asking me to buy business tickets instead. I'm asking them to reconsider their policy. ...