Image: reddit.com · Rukuzu: how we ported a 200,000 line C++ project to Rust and eventually made it faster
A 200,000-line C++ graph database ported to Rust
A team used a Claude Code custom command to port the kuzu graph database to Rust, with 15 crates ported and 2,700+ tests.
Credits
Earliest dated source:
The full story
The authors wanted a pure Rust version of the kuzu embedded graph database, about 200,000 lines of C++, for mobile and edge deployments where a C++ toolchain is not available. They developed a workflow, encoded as a Claude Code custom command, to port it step by step while checking the Rust output against the original.
The result is called rukuzu, with 15 ported crates and over 2,700 tests. The title says it was eventually made faster than the original. The post links to a longer write-up.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: Rukuzu: how we ported a 200,000 line C++ project to Rust and eventually made it fasterReddit poster: jabbrwokePosted
The maker's post on r/ClaudeAI.
If it disappears: archived copy of Reddit: Rukuzu: how we ported a 200,000 line C++ project to Rust and eventually made it faster (opens in a new tab)
- The code: github.comRepository account: kuzudb
Linked in the post.