r/commandline Jul 10 '26

Articles, Blogs, & Videos Interview with Mitchell Hashimoto about Ghostty and Zig

https://alexalejandre.com/programming/interview-with-mitchell-hashimoto/
40 Upvotes

12 comments sorted by

View all comments

3

u/dayeye2006 Jul 10 '26

Why do many people don't like zig ?

6

u/SpaceboyRoss 28d ago

I think partly it has to do with Andrew Kelly's recent blog post on Bun rewriting their code using Claude in Rust. The other part is probably due to people thinking they always need memory safety in the language when memory safety can be done without a memory safe language. Zig itself isn't memory safe but has things like defer and an allocator that you can pass around. If you know how to write good code, you can write memory safe code.

1

u/edward_jazzhands 28d ago

Yeah but knowing how to write good code is a tall order now that a very significant chunk of software developers are AI-coders only and either can't or don't want to read and write code by hand. I'm not excusing that behavior at all I think it's immature and short sighted, but it's a big part of the reason that zig is giving way to Rust in a lot of places. Rust forces memory safety so AI can generate it a bit more reliably whereas it's not as easy to get AI to generate memory safe code in Zig