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

Abierto
#255 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
22/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c, rust
Área
performance

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
3
Forks
1
Merge medio
9 h 51 min
PR fusionados (30 d)
310

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de codeatlasdev/atlas

Todos los issues de codeatlasdev/atlas

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.