Hacker News new | past | comments | ask | show | jobs | submit login

Zig. There's a Why Zig When There is Already CPP, D, and Rust? writeup at https://github.com/ziglang/zig/wiki/Why-Zig-When-There-is-Al...



seriously, zig is so amazing. if all zig was was https://andrewkelley.me/post/zig-cc-powerful-drop-in-replace... it would be unbelievable, but it's so much more than that.


I came here to say the same thing: Zig. The design decisions are spot on.

For example, Modeling Data Concurrency w/ Asynchronous I/O in Zig by Andrew Kelley: https://t.co/VYNqNcrkH1?amp=1



>D has @property functions, which are methods that you call with what looks like field access, so in the above example, c.d might call a function. Rust has operator overloading, so the + operator might call a function.

But I love properties and operator overloading


You just made learning Zig on my todo list. Thanks :D




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: