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

Aperta
#255 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
22/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, rust
Ambito
performance

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
3
Fork
1
Merge medio
9h 51m
PR unite (30g)
310

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codeatlasdev/atlas

Tutte le issue di codeatlasdev/atlas

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.