Find Related products on Amazon

Shop on Amazon

A Year of Rust in ClickHouse

Published on: 2025-05-04 09:06:37

Rust is a great programming language for terminal applications, fantasy consoles, and web3. If you do an experiment and say "C++" anywhere on the Internet, in a minute someone will chime in and educate you about the existence of Rust. Sadly, ClickHouse is written in C++, not in Rust. If only we had a chance to attract a large army of passionate Rust professionals... So, I decided that we must add Rust to ClickHouse. The goal was not to rewrite ClickHouse in Rust - this would be a waste of time. We write ClickHouse in C++ and rewrite some parts from C++ to a better C++. Rewriting is never an end goal, although I know examples when engineers rewrite code from Rust in Rust if they like to rewrite everything in Rust. We should allow writing new system components in Rust. It should be integrated into the build system, so the Rust code interoperates with C++, and it is built and tested together with no complications. First Steps # The first step was to find a small component to kick off t ... Read full article.