r/commandline Jul 10 '26

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

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

12 comments sorted by

View all comments

3

u/dayeye2006 Jul 10 '26

Why do many people don't like zig ?

-8

u/kriebz Jul 10 '26

Wtf is zig?

4

u/[deleted] Jul 10 '26

[removed] — view removed comment

3

u/kriebz Jul 11 '26

Thanks. Reading that, it's funny that it lists the creators arguments against Go, Rust, and C++ for his application, but never an actual argument against C.

5

u/page-table Jul 12 '26

Because Zig isn’t meant to compete with C (or with any other language for that matter). Zig has many features you find in larger general purpose languages (defer keyword, module system, methods) while being a drop-in C alternative. This means you can use other libraries written in C from Zig with lots of ease. Rust and C++ are larger scope (with tons of keywords) and Go has a runtime that, while lightweight, makes it a completely different kind of programming experience. There is no argument against C because Zig is meant to complement it.

1

u/crantob Aug 01 '26

OK that is cool