
Attyx: tiny and fast GPU accelerated terminal emulator
I live in my terminal. Neovim, tmux, git, SSH — that's my whole day. I've used every terminal emulator out there. iTerm2, Alacritty, Kitty, Ghostty. All great. But I never understood what actually happens inside one. Bytes come out of a shell, escape sequences get parsed, characters appear on screen. What does ESC[38;2;255;100;0m do to the internal state? How does a key press travel through a pseudoterminal and come back as text? I had no clue. Only way I know how to learn something is to build it. So I built Attyx — a GPU-accelerated terminal emulator, from scratch, in Zig. Started on a Saturday. Five days later I was daily-driving it. I'm still daily-driving it. Why Though "We don't need another terminal emulator." Sure. But I didn't build it because the world needed one. I built it for two selfish reasons. I wanted to learn Zig. Not from docs and tutorials — from a real project that would punch me in the face with systems programming problems. Terminal emulators hit everything: pars
Continue reading on Dev.to
Opens in a new tab

