Rukuzu: Porting a 200,000 Line C++ Graph Database to Rust with Systematic Testing

Porting Strategy for Large C++ Codebases to Rust
The Rukuzu project addresses a common systems software challenge: porting a mature 200,000-line C++ codebase (kuzu, an embedded graph database) to a pure Rust implementation. The motivation wasn't that the C++ code was problematic, but rather environmental constraints: mobile devices, edge deployments where C++ toolchains aren't available, FFI boundaries create debugging difficulties, and where a single statically-linked binary is valuable.
Systematic Porting Workflow
The team developed a workflow encoded as a Claude Code custom command that enables:
- Keeping the C++ version operational while building the Rust version
- Testing both implementations against each other
- Verifying at every step that the Rust port produces identical results to the original C++
Implementation Details
The workflow emerged from practical experience with:
- 15 ported crates
- 2,700+ tests
- Lessons about what translates mechanically versus what requires human judgment
The DEALER project (a fuzzy OWLv2 EL++ Description Logic reasoner) consumes both backends through a pluggable architecture, providing a production-grade testbed for correctness and performance comparison.
📖 Read the full source: r/ClaudeAI
👀 See Also

Using Claude to Automate Mobile App QA with Capacitor WebViews
A developer built an automated QA system using Claude to test a Capacitor-based mobile app across Android and iOS. The approach uses Chrome DevTools Protocol for Android WebViews and screenshots for visual analysis, with Android setup taking 90 minutes versus 6+ hours for iOS.

Lean Context: Claude Code Plugin Converts Verbose Docs to Agent-Optimized Files
A free, open-source Claude Code plugin called Lean Context scans project documentation and removes content AI agents can discover through grepping, keeping only essential non-obvious commands, gotchas, and environment quirks. In a .NET e-commerce project test, it reduced 8 documents totaling 1,263 lines to just 23 lines.

Smriti: A Git-like system for managing LLM reasoning state to prevent conversation drift
Smriti is an open-source tool that lets developers save, restore, branch, and compare reasoning states in LLM conversations to prevent drift. It treats interactions as state rather than chat history, allowing clean rollbacks and alternative exploration without contamination.

Agent-Xray: Open-source tool for debugging AI agent failures from trace logs
Agent-Xray is an MIT-licensed open-source tool that analyzes AI agent trace logs to classify failures into categories like spin, tool_bug, and early_abort, and includes an enforcement mode to test fixes against adversarial challenges.