News for hackers. Stuff that matters.
Re:Zig Is Self-Hosted Now, What's Next? by thadt on Tuesday October 25, 2022 @01:42PM (#33333787)
Yep, I've also run into a myriad of gotchas while building things or poking around in written code. Just last week I was trying to build someone's year old repo that blew up on nightly, yet compiled on 0.9 just fine.

But - it's plastered all over the entire project that it is a work in progress. This post itself is talking about how for loops are getting broken. It's an ambitious project with a talented and ambitious team, and their vision and execution so far has been awesome. I'm not using Zig for anything resembling production code at the moment - because it's going to break. But when it stabilizes - there is a lot of potential.

Re:Zig Is Self-Hosted Now, What's Next? by setr on Tuesday October 25, 2022 @01:48PM (#33333882)
> Just last week I was trying to build someone's year old repo that blew up on nightly, yet compiled on 0.9 just fine.

Isn’t that the point of nightly

Re:Zig Is Self-Hosted Now, What's Next? by thadt on Tuesday October 25, 2022 @01:53PM (#33333973)
Sure - but I believe it was due to a change in a language detail. I was just commenting that its not intended to be a particularly stable target quite yet.
Re:Zig Is Self-Hosted Now, What's Next? by Shish2k on Thursday October 27, 2022 @07:23AM (#33355970)
I need to use nightly because my code makes the stable compiler crash, so...