Hacker News new | ask | show | jobs
by Decabytes 24 days ago
I’m curious why they chose to use C for this as opposed to Zig with a c like interface.
3 comments

it's Zig with a C ABI
Does that mean that it won't be packaged for Debian until zig is also stable? (see https://gracefulliberty.com/articles/four-months-of-zig/#bet...)
Zig can be packaged for Debian, but there are two obstacles. The first one was bootstrapping, but that has been solved by Guix. The second obstacle is unvendoring all the libc for multiple platforms vendored by Zig.

If you are interested, please DM. I am happy to chat about it.

Yeah, Mitchell's description is very confusing.

   libghostty-vt 1.0 is here. libghostty is a portable, high-performance C library for terminal emulation, extracted directly from the core of Ghostty.
I came to check and say the same as well. I was thinking if they used AI to convert Zig to C.

And that is with me and everyone else knew it was coded in Zig in the first place. Had anyone not knew what Ghostty were I seriously think they would have thought it was a "C Library".

It's Zig
It’s Zog with a C ABI. Zig bindings are a bit of a moving target still.