3 ms·
AFAIK zig is not trying to be "better C++" (that is Rust), zig is more like "better C". a ergonomic low level lang with very little abstractions. zig explicitly
by araoz 3mo ago
AFAIK zig is not trying to be "better C++" (that is Rust), zig is more like "better C". a ergonomic low level lang with very little abstractions. zig explicitly doesn't want to be better C++ or rust
- neutronicus 3mo agoOh, I get that. That’s what I’m saying. I hear “Better C” and my initial reaction is “what’s the point”. Like, why would you aim for “Worse C++”? I mean, compile times. That’s fair.
- pjmlp 3mo agoEven those aren't that bad, when using C++20 modules, coupled with binary libraries. Granted we "aren't modules" yet, unless being on latest compilers with msbuild/cmake/ninja tooling.
- neutronicus 3mo agoPerhaps theoretically, with good practice, but at my job it’s fucking brutal. But to your larger point I would much rather work on improving that than let it drive me back to C fetishism.