News for hackers. Stuff that matters.
Re:How I turned Zig into my favorite language to write netwo... by geysersam on Sunday October 26, 2025 @11:37PM (#45717187)
What's a few years? They go by in the blink of an eye. Zig is a perfectly usable language. People who want to use it will, those who don't won't.
Re:How I turned Zig into my favorite language to write netwo... by tonyhart7 on Monday October 27, 2025 @12:50AM (#45717507)
only for hobby project
Re:How I turned Zig into my favorite language to write netwo... by scuff3d on Monday October 27, 2025 @01:01AM (#45717563)
TigerBeetle, Bun, and Ghostty all beg to differ...
[dead]
Re:How I turned Zig into my favorite language to write netwo... by samtheprogram on Monday October 27, 2025 @01:41AM (#45717746)
Bun is 100% fine in production. And you should be using it instead of transpiling TypeScript unless there’s some other barrier to using it.
Re:How I turned Zig into my favorite language to write netwo... by tonyhart7 on Monday October 27, 2025 @01:51AM (#45717793)
I am not trying to dunk on this project

all of these project is great but we cant ignore that Zig is not enter phase where we can guarantee stable API compability

Re:How I turned Zig into my favorite language to write netwo... by scuff3d on Monday October 27, 2025 @02:30AM (#45717972)
Nobody is denying that? Andrew Kelly and the Zig team have been extremely clear that they are okay making break changes. So if you're choosing to use it in large projects, as some have, you're taking that risk.

I think it speaks volumes that these projects chose to use it, and speak very highly of it, despite the fact that it's still pre 1.0.

Re:How I turned Zig into my favorite language to write netwo... by tonyhart7 on Monday October 27, 2025 @06:11AM (#45719209)
"Nobody is denying that?"

seems like you missing a lot of comment on this tree

Re:How I turned Zig into my favorite language to write netwo... by scuff3d on Monday October 27, 2025 @11:46AM (#45722311)
Care to point out a few?
Re:How I turned Zig into my favorite language to write netwo... by nesarkvechnep on Monday October 27, 2025 @12:55AM (#45717531)
You or in general? Because, you know, this is like, your opinion, man.
Re:How I turned Zig into my favorite language to write netwo... by tonyhart7 on Monday October 27, 2025 @01:34AM (#45717719)
My Opinion???

how about you goes to Zig github and check how progress of the language

it literally there and its still beta test and not fit for production let alone have mature ecosystem

Re:How I turned Zig into my favorite language to write netwo... by dns_snek on Monday October 27, 2025 @04:09AM (#45718446)
Yes, your opinion. I run it in production and everything I've built with it has been rock solid (aside from my own bugs). I haven't touched a few of my projects in a few years and they work fine, but if I wanted to update them to the latest version of Zig I'd have a bit of work ahead of me. That's it.
[dead]
Re:How I turned Zig into my favorite language to write netwo... by dns_snek on Monday October 27, 2025 @06:43AM (#45719440)
Can you rage bait somewhere else?
Re:How I turned Zig into my favorite language to write netwo... by tonyhart7 on Monday October 27, 2025 @08:01AM (#45720002)
since when stating fact is rage bait????
Re:How I turned Zig into my favorite language to write netwo... by attila-lendvai on Monday October 27, 2025 @03:28AM (#45718246)
following upstream is overrated since we have good package managers and version control.

it's completely feasible to stick to something that works for you, and only update/port/rewrite when it makes sense.

what matters is the overall cost.

Re:How I turned Zig into my favorite language to write netwo... by kunley on Monday October 27, 2025 @04:29AM (#45718553)
Hmm, if one writes a library Zetalib for the language Frob v0.14 and then Frob v0.15 introduces breaking changes that everyone else is going to adapt to, then well, package managers and version control is going to help indeed - they will help in staying in a void as no one will use Zetalib anymore because of the older Frob.
Re:How I turned Zig into my favorite language to write netwo... by all2 on Monday October 27, 2025 @11:40AM (#45722236)
For libs, yes, for applications dev, no.

I would expect fixing an application to an older version would be just fine, so long as you don't need newer language features. If newer language features are a requirement, I would expect that would drive refactoring or selecting a different implementation language entirely if refactoring would prove to be too onerous.