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

Đang mở
#255 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
22/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, rust
Lĩnh vực
performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
3
Fork
1
Merge trung bình
9 giờ 51 phút
Pull request đã merge (30 ngày)
310

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codeatlasdev/atlas

Tất cả issue của codeatlasdev/atlas

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.