News for hackers. Stuff that matters.
Re:Why Zig when there is already C++, D, and Rust? by benibela on Saturday January 16, 2021 @09:27AM (#25802334)
I have always been using Pascal

It used to solve 1 (although it becomes worse every year when new languages feature are introduced), it solves 2, and most of 3 (with automated reference counting)

Re:Why Zig when there is already C++, D, and Rust? by pron on Saturday January 16, 2021 @11:59AM (#25803463)
Reference counting is a GC (and often not a very good one). In low-level domains you often don't want a GC for various reasons.
Re:Why Zig when there is already C++, D, and Rust? by benibela on Saturday January 16, 2021 @02:16PM (#25804601)
That is why Pascal also has raw pointers and inline assembly

So it is safe by default, but for those hotspots where it actually matters, you can write the most performant, unsafe code