← 返回日报
略读 预计 1 分钟

Cruller: Bun's Zig Runtime, Continued on Zig 0.16

摘要

作者本周因 Zig 编译器编译 Bun 调试构建花费 181 分钟;TLDR 指出每次调试构建约需 1 分 30 秒,Zig 语言服务器不支持类型检查等基本功能,常需运行编译器验证代码。

荐读理由

你能拿到 Zig 编译器编译 Bun debug 构建耗时 1 分 30 秒以及语言服务器不做类型检查的实际反馈,这能帮你评估 Zig 在工程项目中的效率

原文

I spent 181 minutes waiting for the Zig compiler this week

TLDR; The Zig compiler takes about 1 minute and 30 seconds to compile debug builds of Bun. Zig's language server doesn't do basic things like type-checking, so often have to run the compiler to see if my code works.

Hacker News · 146 赞 · 109 评 讨论 → 阅读原文 →

这条对你有帮助吗?