News for hackers. Stuff that matters.
Re:Pretty.c by mydriasis on Thursday October 24, 2024 @12:53AM (#41932032)
Wow, neat! The wildest part to me is

> And it’s backwards-compatible with C and all of its libraries!

I can't wait to give it a shot! This looks like a riot.

Re:Pretty.c by geon on Thursday October 24, 2024 @02:42AM (#41932625)
Have you heard of Zig?
Re:Pretty.c by oguz-ismail on Thursday October 24, 2024 @02:45AM (#41932644)
It requires a different compiler. This is just a collection of C preprocessor macros
Re:Pretty.c by ptspts on Thursday October 24, 2024 @02:17PM (#41938081)
The Zig toolchain can compile both Zig and C.
Re:Pretty.c by klardotsh on Thursday October 24, 2024 @02:41PM (#41938329)
Yes, but the Zig toolchain is not $YOUR_EXISTING_C_COMPILER_YOU_ALREADY_KNOW_AND_USE
Re:Pretty.c by geon on Tuesday October 29, 2024 @08:20AM (#41983122)
It is, if you use clang.
Re:Pretty.c by mydriasis on Friday October 25, 2024 @08:49AM (#41944736)
I hadn't yet, but it does look nice. I especially like that you can just say "defer deinit", that's really nice.