Back to browse
GitHub Repository

A native Rust terminal interface for Claude Code

152 starsRust

Claude Code Rust – a native Rust TUI that avoids the V8 heap OOM

by char8·Apr 19, 2026·3 points·0 comments

AI Analysis

●●SolidSolve My ProblemShip It

Rust TUI kills V8 heap crashes that plague the official Node.js Claude Code CLI.

Strengths
  • Drop memory from 400MB to 50MB by removing the V8 heap entirely.
  • Stdio JSON bridge allows using the official Agent SDK without modifying upstream code.
  • Native binary startup under 100ms compared to several seconds for Node.js Ink.
Weaknesses
  • Still requires Node.js installed for the Agent SDK bridge layer.
  • Pre-1.0 status means some edge cases might lag behind official releases.
Target Audience

Developers using Claude Code CLI who encounter memory crashes

Similar To

Claude Code · Aider

Post Description

I'm a contributor to Claude Code Rust, a Rust reimplementation of Anthropic's Claude Code CLI. I switched to it as my daily driver because upstream Claude Code crashes with JavaScript heap OOM in long sessions (anthropics/claude-code#1421 (https://github.com/anthropics/claude-code/issues/1421), 65+ comments). The Rust port doesn't have a V8 heap, so the failure mode goes away.

Similar Projects