Lurker News
really not a loaded question. personally i prefer to write in c or zig. what about you?

Comments (28) 27 threads

Show all comments

Showing thread 6 of 27

mirmor23#
I do not understand the value proposition of Zig.

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.