Comment by kllrnohj

Comment by kllrnohj a day ago

1 reply

> So the future is Zig. He got there first.

The future is many things, but a love letter to C is definitely not it.

Zig is cute and a fun hobby project that might see above average success for a hobby project. But that's about it. It doesn't address the problems people actually have with C++, not like Rust or Swift do, and it certainly isn't going to attract any attention from the Java, JavaScript, C#, Python, etc... of the world.

davemp 13 hours ago

Zig is not a hobby project.

> It doesn't address the problems people actually have with C++, not like Rust or Swift do

Speak for yourself. Zig addresses pretty much all of my problems with C++:

- terrible compile times - overly complex and still underpowered template/meta programming - fragmented/ancient build tools - actually good enums/tagged unions - exceptions - outdated OOP baggage

I don’t actually mind C++ that much, but Zig checks pretty much all of my boxes. Rust/swift check some of these but not all and add a few of their own.

> and it certainly isn't going to attract any attention from the Java, JavaScript, C#, Python, etc... of the world.

Yeah of course. Zig isn’t trying to be a max ergonomics scripting language…