Topics

Performance

2 libraries ยท 1 post

Libraries

Terminal and colour

  • Terminal Direct ANSI terminal control for Go, built for 60 fps full-screen redraws Used by ViF, Stapes, LogWisp and Symph
  • Color RGB colour, blending and terminal palettes for Go Used by ViF, Stapes, LogWisp, Symph and Terminal

Posts

grep or ripgrep

grep is on every Unix machine and handles one file at a time. ripgrep (rg) is built for a source tree: it walks directories in parallel, skips what .gitignore skips, and uses a regex engine that cannot go exponential. Both match lines against a pattern; the differences that matter are in what they search by default and how fast they get through a tree.