Very good build tooling was huge plus, but now with llm this is not a differentiator anymore. With strict c compiler flags, and other sanitizer tools many of the niceties of zig can be solved - maybe not all. Two big items -- RAII, and memory safety -- neither Zig, not C solves them. Rust does. So, I would choose C or Rust based on the needs. Also, if someone here have a compelling reason as to when/why Zig is useful in professional grade projects, where the language has to scale to large codebases, I would like to hear it.
For larger projects, I tend to choose Rust more often, but in truth, the best choice depends more on the task at hand than on the programming language itself.
Pascal for me. The case sensitivity and inscruitible variable and type syntax of C/C++ don't match the way I think. Then there's all the macros and .h files.
Comments (28) 27 threads
Earlier commentsIt’s something I still believe, even now, in the age of AI.
Very good build tooling was huge plus, but now with llm this is not a differentiator anymore.
With strict c compiler flags, and other sanitizer tools many of the niceties of zig can be solved - maybe not all.
Two big items -- RAII, and memory safety -- neither Zig, not C solves them. Rust does.
So, I would choose C or Rust based on the needs.
Also, if someone here have a compelling reason as to when/why Zig is useful in professional grade projects, where the language has to scale to large codebases, I would like to hear it.
All comments shown.
Couldn't load more comments. Check your connection and try again.