Show more

Today's Rust stream is now on YouTube! Our TCP implementation now supports reading + writing data, and we _nearly_ got it all to work with a real-world client 🎉 This was the third and last video (for now) in the series, and you can see them all at

It's finally time for the next Rust live-stream! This will be the last TCP implementation stream, and will happen Saturday at 4pm UTC (noon EST;,). As always, it'll be live on and Come join us! :D You can see the two previous streams at What stream we do next is up to you! Head over to and leave your vote for what you'd like to see 🎉

Hi all! We'll do more live streams soon, I promise. In the meantime though, I was recently interviewed on the CoRecursive podcast about Noria, Rust, evmap, and live-coding, and the episode dropped this morning! Give it a listen @

My co-authors and I wrote an article about Noria (the data-flow database I'm building for my research) for USENIX ;login: that has now been published in their Spring 2019 volume. It presents a slightly more practical view of Noria than the OSDI'18 paper, and you can find it here:

Second part of our live-coding quest to implement a user-land TCP stack in @rustlang is now up at! This time we focused on the crate's external interface, and in particular how we could get as close as possible to std::net::Tcp* and std::io::Read/Write. This will sadly be the last stream until early May due to a major upcoming deadline, but there should be enough recordings up at by now that there's plenty of material to keep you busy ^_^

Oh, and you should probably watch part 1 ( before you watch this one as I won't be covering the basics again. The plan is still to roughly follow with the ultimate goal of being able to interact with real internet hosts!

Show thread

I started getting requests for the next "Implementing TCP in " immediately after I posted the first one, so no time to waste! Let's do part 2/n this Saturday at 4pm UTC (noon EST) — Come fiddle with one of the Internet's core protocols with me :D

As always, the stream will be live at and Do not fret if you miss the live stream though — part 2 will be uploaded to YouTube like all my past streams :)

The first part of our @rustlang TCP implementation journey is now up at Definitely some way left to go, but we got to the point where we can perform a TCP handshake with a "normal" client and then shut down the connection cleanly :D Stay tuned for more!

For those looking for more resources, my hope is that by the end we'll be in a position to test it with, and that we'll make sure we don't run into any of the common issues outlined in

Show thread

The implementation will be entirely user-level, and will (likely) use to do the low-level network interaction. To write the implementation, we'll follow , with the ultimate goal of being able to interact with real internet hosts!

Show thread

Time to implement the TCP protocol in ! We'll do it at 5pm UTC (noon EST) on and as always: . I recommend giving a read if you're new to TCP.

The port of stackcollapse-perf we implemented on the live-stream today is ~10x faster than the one that comes with flamegraph, so the bottleneck is now perf script itself! Recording is up at Part 2 will probably be in ~2 weeks, so stay tuned!

Back in November I gave a talk at Two Sigma on and Noria, the research database prototype I've been building at MIT over the past three years. I just got permission to share the recording of it, so if you're interested it's now up at 🎉 You can find the slides at, the prototype and link to the paper at , and the conference publication and presentation at!

Recording of the big futures stream is now up! We got through futures 0.1, executors, async I/O and tokio, futures 0.3, async/await, and Pin, and I think it should be approachable even for those with little async experience!

As planned, I wrote up a website for voting on upcoming stream ideas using ranked-choice voting yesterday! You can now vote for what you'd be more interested in seeing on The stream recording is at, and you can see the source @

I might also write a simple stream idea voting site this week. I'll use , diesel, and to do ranked choice voting so that people can vote for multiple ideas! Could do it live if there's interest?

Show thread

This stream should also be accessible to less experienced Rustaceans! I'll cover the Future trait, combinators, how futures are executed, the Tokio runtime model (incl. the tokio thread pool), and how tokio provides asynchronous I/O. If we have time, I'll also try to dig into the adoption of futures into std + Pin/Unpin for async/await.

Show thread

Time for another live-stream! This time I thought I'd tackle futures/tokio directly. I'll explain what futures are, how they work, and how tokio executes them. Maybe even async/await + pin! Noon EST this Saturday on and For those of you in other timezones, this is the time:,. This will be more of a talking stream than a programming stream, though we'll likely also read some code and write some just for exposition.

Show more
Mastodon is a microblogging site that federates with most instances on the Fediverse. Note: This instance will shut down on February 29th, 2020.