News for hackers. Stuff that matters.
Re:Zig self hosted compiler is now capable of building itself by cercatrova on Saturday April 16, 2022 @12:01PM (#31053363)
Interesting, based on their code samples it looked to me like a GC language since (at least from what I saw) I didn't see anything regarding memory management.
Re:Zig self hosted compiler is now capable of building itself by elcritch on Saturday April 16, 2022 @02:33PM (#31054820)
It’s easy, IMHO, to mistake Zig as a GC’ed language or more broadly as a memory safe systems language. It’s neither but it is a nicer C.
Re:Zig self hosted compiler is now capable of building itself by sanxiyn on Saturday April 16, 2022 @12:05PM (#31053397)
I am not sure what code samples you looked at, but https://ziglearn.org/chapter-2/ should give you an idea.