Live data from Hacker News

Zig 0.13.0 Release Notes

ziglang.org

11–20 of 25 posts

Re: Zig 0.13.0 Release Notes

#13
post #8

Earlier quoted context omitted.

I used the "official" example. It's OK that things break - just that I can't figure out how to update my previously working code. So, I'm wondering - where is the updated official example of using the HTTP client?

0.13.0 did not make any breaking changes to the std.http APIs. Upgrade guide is in the 0.12.0 release notes: https://ziglang.org/download/0.12.0/release-notes.html#Rewor...

Thank you! That explains it. I must have made the example for 0.11!

Re: Zig 0.13.0 Release Notes

#15
post #14

Good news! If all goes well, seems that 0.14.0 will bring async/await https://github.com/ziglang/zig/issues/6025

Here too? Never mind function colouring, async/await itself is a feature that infects entire languages.

Such a terrible abstraction of concurrency for our 1970-style languages. Zig doesn't have strings because they're too high level, but async/await is fine.

Re: Zig 0.13.0 Release Notes

#16
post #2

As usual the HTTP client example is broken again: https://github.com/fwsGonzo/libriscv/blob/master/binaries/zi...

Will Github ever fix their Zig syntax highlighting so it's not all brown text by default?

Re: Zig 0.13.0 Release Notes

#17
post #8
post #5

Earlier quoted context omitted.

I mean it’s a random repo, what do you expect from the Zig authors?

I used the "official" example. It's OK that things break - just that I can't figure out how to update my previously working code. So, I'm wondering - where is the updated official example of using the HTTP client?

Here's an example: https://github.com/marler8997/zigup/blob/4d25c7e387a996c6b83...

Re: Zig 0.13.0 Release Notes

#18
post #15
post #14

Good news! If all goes well, seems that 0.14.0 will bring async/await https://github.com/ziglang/zig/issues/6025

Here too? Never mind function colouring, async/await itself is a feature that infects entire languages. Such a terrible abstraction of concurrency for our 1970-style languages. Zig doesn't have strings because they're too high level, but async/await is fine.

From what we know their async/await should be noticeably distinct from the usual, otherwise the previous revert was for nothing.

Re: Zig 0.13.0 Release Notes

#19
post #14

Good news! If all goes well, seems that 0.14.0 will bring async/await https://github.com/ziglang/zig/issues/6025

Unfortunately I think this is not the case -- it might just be that the async/await issue is getting pushed into the next milestone tag with each release. In the most recent roadmap video[1] Andrew said that the main focus right now is compilation speed, and that async/await specifically was going to take a long time. My memory is that he says something about how it doesn't work well with LLVM and is generally a hard problem that they would prefer to do correctly instead of quickly.

[1]: https://www.youtube.com/watch?v=5eL_LcxwwHg

Re: Zig 0.13.0 Release Notes

#20
post #14

Good news! If all goes well, seems that 0.14.0 will bring async/await https://github.com/ziglang/zig/issues/6025

Unfortunately I think this is not the case -- it might just be that the async/await issue is getting pushed into the next milestone tag with each release. In the most recent roadmap video[1] Andrew said that the main focus right now is compilation speed, and that async/await specifically was going to take a long time. My memory is that he says something about how it doesn't work well with LLVM and is generally a hard…

You are absolutely right, he did indeed share those thoughts. I do remember now! Thanks
Post reply on HN