Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why Zig When There is Already C++, D, and Rust? [1].

Also, safety is not the only consideration when writing software right? Otherwise, all software would have to be written using formal methods [2] ... clearly overkill for many (most?) applications.

Maybe it is a bit obvious, but I think someone would pick Zig because they like the set of features that the language provides, allowing this person to write reasonably bug free code in (hopefully) shorter time than using a different language or methodology.

I think most ppl choose the language because they like the tools/ecosystem/libs available, because it aligns with previous experience/s, because of how popular it is for the kind of app they are writing, and because they agree with the authors philosophy (as opposed to choosing it based on any particular language features).

--

1: https://ziglang.org/learn/why_zig_rust_d_cpp/

2: https://en.wikipedia.org/wiki/Formal_methods



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

Search: