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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Zig: What to Expect from Release Month

130 点作者 enz4 个月前

12 条评论

picafrost4 个月前
Writing Zig has been bringing me a lot of joy. It feels like I’m working with a machine again. The memory safety guardrails are just high enough to help out without feeling like a tourist trap.<p>There is space to enjoy writing code with someone’s PhD dissertation, untyped dynamic free for alls, and all that in between. Zig feels like a hacker&#x27;s language.
anacrolix3 个月前
So professional. Also Infected Mushroom is great.
travisgriggs4 个月前
I’ve been a lurking fan of Zig for a while. Discovering they listen to IM and Bliss to code to just made me like their project even more.
ta86454 个月前
Zig is a joy to write; it feels like a much-improved C. Writing and cross-compiling a custom app for Windows was great. The only thing I&#x27;d mention is that there is a lot of outdated information on the net for it. Zig has evolved and changed quite a bit, leaving it quite difficult to search (or chatbot) for up-to-date information on its syntax and idioms. It can be frustrating to get so many incorrect answers.
评论 #42743645 未加载
tomrod4 个月前
Cool to see!<p>I&#x27;m interested in learning a lower level language a bit better. I&#x27;ve spent some time in Rust and C (not enough to be proficient) -- is Zig a good candidate? It seems to have a lot of interest, I&#x27;m curious about objective views on its long term progress and forecast.
评论 #42738399 未加载
评论 #42738158 未加载
评论 #42738051 未加载
评论 #42745345 未加载
the__alchemist4 个月前
Ok, fuck it. Today project: Porting my vector and quaternion from Rust to Zig as a learning project.
评论 #42738291 未加载
mgrandl4 个月前
There are so many cool projects using Zig already. Very excited for its future!
评论 #42738165 未加载
jvillasante4 个月前
I&#x27;ve been trying to understand what Zig place is in the world so I can learn more about it. I like the idea of simplicity in programming languages but, other than that and since there&#x27;s Go already, what is the proposition here?<p>In particular:<p>- LLVM is not enough, let&#x27;s write our own compiler.<p>- Interfaces are an overhead, use comptime instead or roll your own vtables.<p>- In a world where &quot;memory unsafe&quot; languages are under attack... yeah, we don&#x27;t care about that.<p>I&#x27;m not trolling, this are serious questions from afar that I would love to figure out before investing time with Zig.
评论 #42738270 未加载
评论 #42738278 未加载
评论 #42739144 未加载
评论 #42738101 未加载
评论 #42738078 未加载
评论 #42740716 未加载
etyp4 个月前
I&#x27;m excited to see how that x86 backend is, I haven&#x27;t tried it yet. It&#x27;s definitely an interesting step for a new language to do on its own
icsa4 个月前
Regarding Aro (new C compiler in the Zig toochain), it seems that a C compiler written in Zig shortens considerably the path to supporting constexpr in C using Zig&#x27;s comptime capabilities.
gtirloni4 个月前
The C&#x2F;C++ dropin compiler replacement in Zig now seems like a missed opportunity in Rust. Would that even be possible?
评论 #42738133 未加载
hansvm4 个月前
Incremental compilation!
评论 #42738013 未加载