VOOZH about

URL: https://thenewstack.io/the-weird-things-that-happened-when-clickhouse-replaced-c-with-rust/

⇱ The 'weird' things that happened when Clickhouse replaced C++ with Rust - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2026-02-04 07:26:14
The 'weird' things that happened when Clickhouse replaced C++ with Rust
Programming Languages / Rust

The ‘weird’ things that happened when Clickhouse replaced C++ with Rust

At FOSDEM 2026 in Brussels, Alexey Milovidov, co-founder and CTO of ClickHouse pushed back on the Rust hype.
Feb 4th, 2026 7:26am by B. Cameron Gain
👁 Featued image for: The ‘weird’ things that happened when Clickhouse replaced C++ with Rust
Featured image by Drazen Nesic for Unsplash+.

ClickHouse’s decision to shift parts of its codebase to Rust is a perfect storm: the convergence of a wildly popular database and a language riding a massive wave of momentum. While ClickHouse has earned its adoption for good reason, Rust’s momentum as a beautiful, modern programming language arguably deserves its explosive growth and its emergence as a language of choice — not just for ClickHouse in this case, but across many projects, including parts of the Linux kernel, replacing C code,

That said, on Sunday at FOSDEM 2026 here in Brussels, Alexey Milovidov, co-founder and CTO of ClickHouse was very precise about what interested him: not hype, but what Rust can concretely do for ClickHouse during this talk “Clickhouse’s C++ and Rust Journey.” In fact, he explicitly pushed back on the hype, even calling it one of Rust’s negative aspects amid the Rust-heavy interest — that I would argue was merited — at FOSDEM this week.

There was huge interest in the how and why behind ClickHouse’s move toward Rust, and it’s worth noting that the transition hasn’t been without hiccups and not representing a big shift as many might think. In fact, about 98% of Clickhouse’s runtimes remain in C++, Milovidov told The New Stack.

Before getting into those details, though: After his talk on Sunday, I asked Milovidov what surprised him most over the past couple of weeks. His answer wasn’t about Rust itself, but about something unexpected that had happened very recently, which he said caught him off guard.

@fosdem ’26: @ClickHouseDB shift from C++ to @rustlang. A lot happened and not all of it was good, but it was mostly good. Contrary to popular assumptions, 98% is still in C++. #Fosdem26 pic.twitter.com/tiyyQJCPHI

— BC Gain (@bcamerongain) February 2, 2026

During our discussion, Milovidov said the “weirdest” challenges his team faced during the ongoing shift to Rust had to do with the  build system and build infrastructure. A specific example involved the Delta kernel library, which he found to be disabled under the memory sanitizer. The issue stemmed from how the library did not provide certain symbols required for the memory sanitizer to function correctly, an issue he identified only a “day or two” before his talk and our conversation. This underscored the difficulty of maintaining a rigorous testing environment when mixing different language ecosystems.

“The Delta kernel library is disabled under the memory sanitizer…some some symbols required for members are not provided,” Milovidov said. “The was weird.”

Much of our discussion involved the clarified ClickHouse’s use of Corrosion, an open source tool for integrating C++ and Rust. There was a point of clarification regarding the direction of the migration: it was not a move from Corrosion to C++, but rather building on the C++ while the Rust code remained. Milovidov confirmed that the Rust code did not change and the libraries stayed the same. Instead of translating the code, they were going to continue building in Rust.

During his talk, Milovidov recalled that initially when making the switch to Rust, there were issues with a library that did not provide some symbols, as mentioned above. Milovidov stated that cross inflation was much better, though the team faced a huge amount of effort that was not easy. He observed that for some reason, the system ended up with two different versions of open SSL. Finally, he mentioned that they could make it run in their rooms and glue it in the same way to avoid surprises with symbols.

“This and the entire project required a huge amount of effort,” Milovidov said. “It was not easy.”

TRENDING STORIES
BC Gain is founder and principal analyst for ReveCom Media. His obsession with computers began when he hacked a Space Invaders console to play all day for 25 cents at the local video arcade in the early 1980s. He then...
Read more from B. Cameron Gain
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: ClickHouse.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.