Get the latest tech news

We rewrote the Ghostty GTK application


Mitchell Hashimoto We Rewrote the Ghostty GTK Application We just completed rewriting the Ghostty GTK application fully embracing the GObject type system from Zig and also verifying with Valgrind every step of the way. The result is a more feature rich, stable, and maintainable Ghostty on Linux and BSD.

We just completed rewriting the Ghostty GTK application fully embracing the GObject type system from Zig and also verifying with Valgrind every step of the way. Besides the correctness issues, avoiding the object system also forced us away from using GTK-native features such as signals (events), properties (which can be bound to by GUI elements), actions (invoking one-way behavior) from afar), and more. This process is showing empirical results from a large, complex, multi-threaded, multi-platform Zig project when every individual feature is run with scrutiny under Valgrind.

Get the Android app

Or read this on Hacker News