Request: native Rust rewrite of Claude Code core (fix idle CPU spikes + terminal flicker)

Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 6, 2026

Problem

The TypeScript terminal rendering layer causes:

  • Noticeable idle CPU spikes even when not actively streaming
  • Terminal flickering during streaming output

This is on a standard terminal setup; the overhead appears tied to the JS/TS runtime layer handling terminal rendering rather than actual workload.

Request

Claude Code has already started moving parts of the stack (Bun) toward Rust. Requesting that this go further: a full native Rust implementation of the CLI, removing the JavaScript/TypeScript wrapper layer entirely.

Expected benefits:

  • Lower idle/background CPU usage
  • Elimination of streaming-related terminal flicker
  • Faster startup and lower memory footprint typical of native binaries vs. Node/Bun-hosted JS

Why it matters

For terminal-heavy workflows, the current overhead is a consistent friction point during long sessions. A native implementation would bring the performance profile in line with other terminal-native tools.

Happy to provide more diagnostic detail (OS, terminal emulator, profiling output) if useful.

View original on GitHub ↗