TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

160 点作者 manaskarekar将近 2 年前

9 条评论

mtlynch将近 2 年前
&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 未加载
booniepepper将近 2 年前
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_MX将近 2 年前
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_public将近 2 年前
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_l将近 2 年前
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.
ksec将近 2 年前
Why Async, especially considering Zig intends to be something like a High Level &quot;portable Assembly&quot;?
评论 #36787554 未加载
评论 #36787771 未加载
评论 #36788534 未加载
评论 #36788227 未加载
评论 #36788079 未加载
评论 #36804990 未加载
aserafini将近 2 年前
I’ve said it before, and I’ll say it again.<p>Andrew Kelley is the greatest, most productive Yak shaver of all time.
chriswarbo将近 2 年前
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 未加载
jokoon将近 2 年前
I wish zig could be enabled for godot.
评论 #36789904 未加载
评论 #36791619 未加载