Technology1 min read

Libghostty 1.0

By · Published by Everything Blog

In short

Mitchell Hashimoto has stabilized the core terminal emulation engine powering his terminal app into an independent C library featuring strict ABI compatibility. The milestone provides operating system distributions and external software developers with a dependable foundation for dynamic linking and packaging. Its arrival formalizes support for an infrastructure component that already serves millions of end users through major developer platforms. To guarantee seamless upgrades without crashes, the library implements defensive design choices such as opaque handles, ELF versioned symbols, and automated ABI verification in continuous integration.

Key points

  • The 1.0 release establishes semantic versioning and permanent ABI compatibility guarantee…: The 1.0 release establishes semantic versioning and permanent ABI compatibility guarantees for dynamic linking.
  • Defensive API patterns ensure unsupported calls return errors instead of crashing when ol…: Defensive API patterns ensure unsupported calls return errors instead of crashing when older versions are deployed.
  • Broad industry adoption spans multiple programming language bindings and major tools like…: Broad industry adoption spans multiple programming language bindings and major tools like Turborepo, OrbStack, and devenv.

Sources checked by our analysis pipeline: 1

Mitchell Hashimoto

Libghostty 1.0

libghostty-vt

1.0 is here. libghostty is a

portable, high-performance C library for terminal emulation, extracted

directly from the core of Ghostty. The 1.0 release means both the library

itself and the C ABI are now stable.

A little over a year ago, I wrote that libghostty is coming. At the time, the Zig module had just been merged, the C API didn't exist, and nobody but Ghostty was a consumer. Today, the C API is a complete terminal emulator, it runs in production for millions of people across hundreds of products, both free and commercial, and it has a real, enforced ABI stability policy.

This post is about how we got here and what 1.0 actually means.1

Who Is Already Using It

Since starting the Ghostty project in 2022, the most common question I've been asked is "why?". I already answered this in the libghostty is coming post, so feel free to read that if you wish. Today, I'd rather answer this by showing the broad industry impact libghostty has already had. I believe this strongly…

Technology