Skip to content

Roadmap: Rust migration #67

Open
Open

Description

@cyh7789

Part of the roadmap: #66

Goal

Termdock will move to Rust step by step. Each release moves at least one part. The back end and the heavy computing parts move first, and the Electron shell is replaced last.

The core Rust code lives in separate crates that do not depend on Node. When the shell changes, the new shell can use this code directly.

Progress

Updated 2026-11-08 (v1.26.0).

Done

  • Code index: file scanning, parsing (TypeScript and JavaScript, Python, Rust, Go, C, C++, Java), the index pipeline, the first pass of the call graph, and content hashing.
  • Framework route extraction (v1.26.0). Warm start of route analysis went from 2,246 ms to 1,675 ms.
  • One Cargo workspace, with the core crates split from the Node bindings (v1.26.0).

Next

  • Make Rust and the older parser agree on symbol IDs, so the call graph no longer needs a second pass with the older parser.
  • Parse the remaining languages in Rust: Ruby, PHP, Swift, Kotlin, C#, Shell, SQL.

After that

  • Turn the background terminal service into a separate Rust program. Today it runs on the Node runtime inside Electron.

Last

  • Replace the Electron shell. Memory use of the window drops clearly only at this step. Moving logic to Rust does not lower the window's memory by itself.

How we track it

Each release that moves a part adds a line under "Done" with the version and what changed.

Activity

  1. added
    architecture
    code-quality
    perf
    research
    scope:ast
    scope:lsp
    scope:terminal
    on Nov 8, 2026
  2. github-actions commented on Nov 8, 2026

    @github-actions
    Contributor

    This issue is being tracked internally. Thank you for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    architecturecode-qualityperfresearchscope:astscope:lspscope:terminal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions