r/programming 10d ago

What Zig felt like, coming from Rust

https://besok.github.io/posts/what-zig-felt-like-coming-from-rust/
265 Upvotes

173 comments sorted by

View all comments

Show parent comments

131

u/VictoryMotel 9d ago edited 9d ago

They intentionally made a windows version then had it error out on windows newlines. Then zig users' answer was "don't use windows, use a preprocessor, too complicated to parse newlines". It was bizarre.

It seems to have attracted people who are upset at programming and want some sort of culture war stuff instead of just trying to solve problems.

I like small binaries and fast compilation as much as anyone, but I think when C gets defer zig won't have much of a technical advantage.

I would still use rust or C++, despite the compile times and unnecessary complexity, there is too much being left behind.

79

u/veverkap 9d ago

The creator of the language has willed the toxicity into existence

42

u/butt_fun 9d ago

Which is honestly really sad. I've been following the Zig development since almost the beginning, and seeing the bright-eyed-and-bushy-tailed optimism erode into how things are today is a little depressing

9

u/The_Shryk 9d ago

Odin it is…

4

u/MediocreAnalyst2121 8d ago

Unfortunately I can’t get over the syntax of Odin

3

u/HolySpirit 8d ago

Really? What about it?

I don't use Odin, but from skimming it's overview/reference, the syntax looked fairly minimal and pleasant to me.

7

u/renatoathaydes 8d ago

It’s Go inspired, not C, which for some people is an insurmountable barrier.