Don't Trip[wire] Yourself: Testing Error Recovery in Zig
Introducing Tripwire, a Zig library for injecting failures to test error handling and recovery paths, ensuring robust error cleanup.
Mitchell Hashimoto is a software developer and co-founder of HashiCorp, now working on Ghostty, a modern terminal emulator. He previously led and built major DevOps tools like Terraform, Vault, and Consul, and shares insights from engineering and aviation.
45 articles from this blog
Introducing Tripwire, a Zig library for injecting failures to test error handling and recovery paths, ensuring robust error cleanup.
A technical deep dive into diagnosing and fixing a major memory leak in the Ghostty terminal emulator, triggered by specific CLI applications.
Ghostty terminal project transitions to a non-profit structure under Hack Club to ensure its long-term sustainability and commitment to open source.
Mitchell Hashimoto details using AI agentic coding tools to develop an unobtrusive macOS auto-update feature for Ghostty, sharing the full process and token costs.
Zig 0.15.1 shows significant improvements in build times for the Ghostty project, with faster script compilation and incremental builds.
Announcing libghostty-vt, a zero-dependency library for parsing terminal sequences and managing terminal state, extracted from the Ghostty terminal emulator.
A reflection on the importance of user experience and emotional impact in software development, beyond just meeting specifications.
Mitchell Hashimoto shares insights on how tech non-profits can improve their donation processes and marketing to attract more donors.
Ghostty terminal's GTK app was rewritten in Zig, integrating with GObject and using Valgrind for memory validation.
Mitchell Hashimoto clarifies his original intent behind the 'as code' concept, distinguishing it from 'as programming' and explaining its focus on codifying knowledge.
Ghostty terminal project announces eight new subsystem maintainers to support its growth and long-term open source health.
Mitchell Hashimoto reflects on the personal journey and philosophy behind releasing Ghostty, a new terminal emulator, after reaching version 1.0.
Announcement of Ghostty 1.0, a new open-source terminal emulator for macOS and Linux aiming to be a fast, feature-rich, and standards-compliant drop-in replacement.
Mitchell Hashimoto announces a $300,000 personal pledge to support the Zig programming language and its software foundation.
Explains how to use Zig's comptime feature to safely work with subsets of a tagged union, using a real-world example from a terminal project.
Explains how to use Zig's comptime feature to conditionally disable code for platform-specific builds, debugging, and configuration.
Mitchell Hashimoto joins Polar as an advisor to support its mission of helping developers get paid for working on their passion projects.
Ghostty devlog details performance optimizations using SIMD to increase terminal emulator IO throughput for faster text and control character processing.
Ghostty terminal devlog update covering beta program growth and the introduction of a new Terminal Inspector tool for developers.
Explains why emojis like 🧑🌾 cause inconsistent cursor movement in terminals due to grapheme clusters and offers solutions for developers.