Rust and RPC at OkCupid

We write a lot of C++ here at OkCupid. It’s pretty great, except when it’s really not. I’ve been evaluating Rust as another potential language for our Backend Team. It seems to fit in quite nicely with a lot of our existing code base and I like a lot of… Read more


Writing an OS in Rust: Double Faults

In this post we explore double faults in detail. We also set up an Interrupt Stack Table to catch double faults on a separate kernel stack. This way, we can completely prevent triple faults, even on kernel stack overflow.

Read more »

Async Exceptions in Haskell, and Rust

Haskell and Rust both support asynchronous programming. Haskell includes a feature called async exceptions, which allow cancelling threads, but they come at a cost. See how Rust does the same job, and the relative trade-offs of each approach. (more…)

Read more »

Of tantivy, a search engine in Rust

I have been working more or less with search engines since 2010. Since then, I entertained the idea to try and code my own search engine. I ended up never starting this project, but accumulated more and more information over the year about how to implemen...

Read more »