Terminal engine spike: libghostty-vt as the VT core behind vt/

Offen
#255 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
22/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c, rust
Bereich
performance

Rechercherichtung

Start with discussion #237 and the #239 benchmark harness, since every number in the write-up has to come from it; the engine boundary is vt/mod.rs, and the call sites that would break on a swap are frame.rs, pick.rs, find.rs, the selection code and images.rs because they use alacritty Term/Grid APIs. Run the corpora through both engines in parse-only and snapshot modes, recording MB/s and RSS, and add the many-unique-styles full-redraw corpus the caveat calls out. Done means numbers plus a gap list (OSC 133/7/9/777, sixel, DECSET 1016, sync hold, render-state copy cost, Zig-in-CI cost) posted to #237 with an adopt/defer/drop call.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area: terminal priority: 3 low status: confirmed type: feature

Research: discussion #237 (Linux/engine comment). Applies to macOS, Windows and Linux (shared atlas-term). Measure with the #239 harness before and after.

Context

libghostty-vt 1.0 (2026-11): MIT, stable C ABI, no threads, SIMD parser (Ghostty reports 342 MB/s on a real 2.6 GB corpus, 725 MB/s synthetic ASCII), compressed scrollback, full kitty graphics; used by JetBrains and Neovim. Rust crate libghostty-vt 0.2 (pre-1.0) needs Zig 0.17 at build time. vt/mod.rs was isolated for this swap, but frame.rs, pick.rs, find.rs, selection and images.rs use alacritty Term/Grid APIs.

Spike (time-boxed, no commitment)

Feed the #239 corpora through both engines (parse-only and with snapshot), compare MB/s and RSS; list gaps: OSC 133/7/9/777, sixel, DECSET 1016, sync hold, render-state copy cost; cost of Zig in CI on all three OSes.

Caveat

Ghostty's maintainer says full-screen redraws with many unique styles are a known slow path, the pattern agent TUIs produce. Measure that corpus specifically.

Done when

A write-up in #237 with numbers: adopt, defer or drop.

Vorherrschende Sprache
Rust
Sterne
3
Forks
1
Ø Merge
9 Std. 51 Min.
Gemergte PRs (30 T.)
310

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codeatlasdev/atlas

Alle Issues in codeatlasdev/atlas

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.