Zig Website Overhaul: from AWS to Self-Hosting + from Hugo to Zine

7 Likes

Is the devlog broken ? First and only post seems truncated ? Or am i missing something ?

I don’t think so. You should be seeing rendered output of:

Devlog section was intentionally made to have concise entries describing latest Zig changes.

Thanks, so I don’t get it :smile:

It’s a switch on a constant, comptime-known value.

We’re going to publish another blog post about the move to Zine and the devlog. Yes the devlog is not truncated, that’s just how Andrew devlogs :^)

4 Likes

Oh yeah, this:

state: switch (State.start) {

FWIW, to me this line is special because it captures how the introduction of labelled switch expressions made declaring a state machine so much more readable.

Ooh label switch continue landed, great work @mlugg! That’s an important feature for what I’m working on, my first post on the Zig issue board was about how to implement certain VM patterns without goto. Getting linked to that issue was one of the things which convinced me that Zig was something I could use productively, this covers the last missing piece of rational use of goto in C.

Guess I have some work ahead of me…

6 Likes

It seems the download links changed as well. I was relying on that to automatically download the right compiler version for my game :​(

Like the first linked post suggests, consider using the mirrors from the setup-zig CI action.

I think I’ll just host my own github repo with all the versions I need. Then I can also finally return to using random zig master versions, without worrying that ziglang.org removes the old master releases.

Woah, depending on old Zig master versions, I do wonder what the use case for that is and how common it is, in general.

Well, I sometimes want to be able to build old versions of my projects. For example right now in my game I have a few branches of features that I want to revisit in the future, but they branched off when the game used a random zig master, so it’s kind of hard to check them out again.

And I generally prefer working on the latest master. For example right now I’m stuck on zig 0.13.0, but upgrading to the latest master would net me ~30% faster debug compile times in my project.

1 Like

Is it just me, or is the download time a lot longer now?
Screenshot at 2024-09-13 22-27-31

Just downloaded this release from the main site. It’s very fast as always, for me.

Maybe it’s because I’m in europe?

Same, so I doubt it. Maybe someone else can verify it as well.

Reporting from Europe. No issues downloading that file, it was pretty fast.

Ok now it’s faster, I guess it was just a temporary issue.

The new host is a Hetzner machine, so us Europeans should be fine.