TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Zig: Upcoming release postponed two more weeks and lacks async functions

160 pointsby manaskarekaralmost 2 years ago

9 comments

mtlynchalmost 2 years ago
&gt;<i>I’m not on Twitter anymore - my goal is to instead channel that micro-blogging energy into regular blogging energy on my personal website as well as posting Zig project news here on ziglang.org.</i><p>Cool, I like this!<p>I realized last year that I was investing too much time into sharing things on Twitter that I&#x27;d subsequently forget about or be unable to find.<p>Instead, I created a separate section on my personal blog for &quot;notes&quot; where the idea is to house content that I&#x27;d otherwise post to Twitter. It&#x27;s been working well, and I like owning my own content rather than contributing it to another platform.<p>I&#x27;m especially glad for this change after seeing what&#x27;s happened in the past few months with Twitter and Reddit. It&#x27;s been unfortunate to see those platforms become so much more possessive of the content that their users generated. If you publish to your own platform, you&#x27;re safe from that. At least until LLMs bury your platform in noise.
评论 #36799131 未加载
评论 #36787511 未加载
booniepepperalmost 2 years ago
An engineer being overly optimistic with a time estimate? Say it ain&#x27;t so!<p>&quot;A delayed game is eventually good, but a rushed game is forever bad.&quot; - Shigeru Miyamoto<p>The same goes for features. I&#x27;d rather Zig have a delayed&#x2F;good async next year and forever after, instead of a rushed&#x2F;bad async right this moment and forever after.
Aldo_MXalmost 2 years ago
I really appreciate the honesty. It is not the end of the world to delay a highly anticipated feature, especially when the delay was a consequence of prioritizing the long-term stability of the codebase over the promised delivery date.
评论 #36790204 未加载
john_q_publicalmost 2 years ago
I have yet to try Zig, but I approve of the idea of taking extra time and reducing scope to make sure that what you do ship is solid, especially in something like a programming language that may end up being a foundational piece of many other projects.
skywal_lalmost 2 years ago
I hope Andrew does a Stream of preparing the 0.11.0 migration documentation like he did for 0.10.0. It gives a good insight on the new features in a conversational manner.
ksecalmost 2 years ago
Why Async, especially considering Zig intends to be something like a High Level &quot;portable Assembly&quot;?
评论 #36787554 未加载
评论 #36787771 未加载
评论 #36788534 未加载
评论 #36788227 未加载
评论 #36788079 未加载
评论 #36804990 未加载
aserafinialmost 2 years ago
I’ve said it before, and I’ll say it again.<p>Andrew Kelley is the greatest, most productive Yak shaver of all time.
chriswarboalmost 2 years ago
Is there a reason async&#x2F;await is being implemented specifically, rather than some more generally-useful primitive (like delimited continuations, algebraic effect handling, functor&#x2F;applicative&#x2F;monad, etc.[0])?<p>When it comes to e.g. memory management, Zig tries to be unopinionated and allow different implementations to be implemented as desired; so it seems odd to bake-in something like async&#x2F;await (even if the execution strategy of those computations is up to the user).<p>I&#x27;ve seen this happen in many high-level languages (JS, Python, PHP, etc.), which I mostly attribute to (a) ignorance of those generalisations, and (b) a band-wagon effect. The unfortunate result in those languages is a bloated mess of try&#x2F;catch, async&#x2F;await, for&#x2F;yield, apply&#x2F;return, etc. and all of their O(n!) possible interactions; which could have instead been implemented as libraries on top of a single primitive (e.g. shift&#x2F;reset, or whatever)<p>[0]: AFAIK these are all equivalently expressive, and given one it&#x27;s easy enough to write the others as libraries.<p>PS: I recall asking this question when PHP added generators; I can&#x27;t seem to find a bug report or mailing list post though...
评论 #36792533 未加载
jokoonalmost 2 years ago
I wish zig could be enabled for godot.
评论 #36789904 未加载
评论 #36791619 未加载