← Sat, Nov 7 digest

Libghostty 1.0

read article ↗ hn thread ↗

Mitchell Hashimoto released libghostty 1.0, delivering a stable C ABI and high-performance terminal emulation library already adopted by JetBrains and Neovim.

read it It details the architectural decisions, ABI stability guarantees, and cross-platform packaging for a foundational systems library driving millions of terminals.

summary

Mitchell Hashimoto has released libghostty 1.0, establishing a stable C ABI and API for the terminal emulation core extracted from Ghostty. The library has already achieved massive industry adoption, powering terminals in JetBrains IDEs for 12.5 million users, Neovim, and various development tools. The release introduces strict semantic versioning, automated ABI checks via libabigail, offline distribution tarballs, and multi-platform support ranging from Linux to WebAssembly. Designed with zero threads and minimal resource overhead, it allows developers to build feature-rich terminal emulators in about 1,500 lines of C.

key points

  1. The C ABI utilizes opaque handles and enum-keyed getters and setters, backed by CI checks with libabigail to prevent breaking changes.
  2. Already integrated into production software including JetBrains IDEs (12.5M active users), Turborepo, and forthcoming Neovim releases.
  3. Includes permissively licensed dependencies (simdutf, Highway, Wuffs) with zero copyleft code and full support for offline distribution packaging.

who should read it

Systems programmers, terminal developers, and engineers looking to embed high-performance terminal emulation into applications.

discussion warm

consensus

Commenters are overwhelmingly enthusiastic, celebrating the 1.0 release and highlighting how libghostty has dramatically improved terminal integration in tools like Emacs and IDEs.

pushback

A few users questioned why so many custom terminal apps are being built or noted minor platform packaging nuances.

best comment by pekim ↗

libghostty provides terminal emulation, without any UI. An application embedding it will need to provide the UI.

libvte provides terminal emulation complete with a gtk UI.

In terms of terminal emulation, libghostty implements several protocols that libvte does not. For example kitty keyboard, kitty graphics, and desktop notification.

It clarifies the architectural difference between libghostty (emulator core without UI) and libvte (tied to GTK), highlighting why decoupling enables broader embedding.

Generated by an LLM from the article and thread. Check the sources before relying on it.