Don’t think zig will ever make it into popularity tbh. It is good for low level but it isn’t like rust or go. Rust and go are really good alternatives for c++ or java code, they just work, have good tooling etc. But I would never use zig for that kind of use case instead of rust since you don’t need to go full on engineering every dot mode.
I switched to zig from rust for implementing a database since 6 months and have no regrets but just don’t think anyone would use it for writing backend code or other similar smaller things.
I used to think similarly about rust before though so don’t really know anything
> I switched to zig from rust for implementing a database since 6 months and have no regrets but just don’t think anyone would use it for writing backend code or other similar smaller things.
I've been thinking about starting a project in Zig rather than Go lately, even though I am skilled at Go. I really like working with more, cracked? or simply crazy people willing to learn an esoteric language, and zig fits the needs in particular I have (mostly very nice C interop)
Would you recommend? How are the average zig contributors vs something like go?
Rust has a unique niche it can occupy - namely, it's a "zero-overhead" memory safe low-level language.
I never understood why is go brought up next to rust all so often, when it has barely any unique qualities, and is a high-level GCd language with a dumb type system that outputs a single binary... of which there are 1000 other examples. At least it has good tooling, I guess.
> I switched to zig from rust for implementing a database since 6 months and have no regrets but just don’t think anyone would use it for writing backend code or other similar smaller things.
I don't have a horse in this race, but have you shared more about this decision? It would make for a good blog post and an even better HN discussion.
I’m not that accomplished in this field so don’t think my pov will be that useful. It is mostly same as the rationale that tigerbeetle developers shared.
Might consider writing something if my project ends up being useful
I switched to zig from rust for implementing a database since 6 months and have no regrets but just don’t think anyone would use it for writing backend code or other similar smaller things.
I used to think similarly about rust before though so don’t really know anything