Andrea Lattuada (email@example.com)
I'm a PhD Student in the Systems Group, Department of Computer Science at ETH Zürich. My advisor is Prof. Timothy Roscoe.
I have been supported in part by a Google PhD Fellowship.
My interests span various areas of systems, programming methodology, and software verification. I am currently focusing on fault-tolerance in streaming systems, language-supported enforcement of complex programming contracts, and tools and techniques for practical verification of large-scale systems software.
The design and implementation of a lock-free ring-buffer with contiguous reservations
03 June 2019
This is the story of how James Munns
and I designed and implemented (two versions!) of an high-perf lock-free ring-buffer for cross-thread communication. If any of those words look scary to you, don't fret, we'll explain everything from the basics.
A hammer you can only hold by the handle
05 November 2018
Today we're looking at the rust borrow checker from a different perspective. As you may know, the borrow checker is designed to safely handle memory allocation and ownership, preventing accessess to invalid memory and ensuring data-race freedom. This is a form of resource management: the borrow checker is tracking who's in charge of a chunk of memory, and who is currently allowed to read or write to it. In this post, we'll see how these facilities can be used to enforce higher-level API constraints in your libraries and software. Once you're familiar with these techniques, we'll cover how the same principles apply to advanced memory management and handling of other more abstract resources.