Buz: 一个用现代Zig重写的Bun分支,具有亚秒级增量构建

构建 48 min ago7加入收藏

Buz: 一个用现代Zig重写的Bun分支,具有亚秒级增量构建
插图 : Léa Fontaine

一个在 ziggit.dev 上发布的项目宣布推出一个 Bun 的替代方案,用现代 Zig 重写,增量构建时间小于 1 秒。问题在于:JavaScript 运行时真的需要一个分支吗?

事实

一个名为 Buz 的项目(其作者将其描述为“使用现代 Zig 的 Bun 替代方案,增量构建时间小于 1 秒”)于 7 月 24 日出现在 ziggit.dev 上。该分支声称与 Bun 兼容,同时现代化了底层 Zig 栈(Bun 在发布时冻结了其 Zig 版本)。该项目被转发到 HN 首页。

我们的看法

JavaScript 运行时生态系统中存在两种紧张关系。一方面,Bun 已经巩固了一个用户基础,他们喜欢速度,但不能容忍补丁的延迟。另一方面,Zig 社区以一种让 Bun 使用旧版编译器的速度发展。Buz 回应了这种摩擦。但一个 drop-in 分支的生死取决于维护:“sub-1s 增量”是宣布时的亮点,如果团队不存在,则难以管理。一个跟随快速发展的 API 的 drop-in 总是忙于追赶上游。

关注点

  • 项目签名:谁维护,哪个提交历史,哪个 CI?
  • Jarred Sumner(Bun)的反应:忽略、重新基础或上游合并想法?
  • 采用:在 30 天内有多少 Bun 项目在 side-by-side 中安装 Buz?
Resources

本文由人工智能撰写,并经人工编辑审核。

我们的编辑部
Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

SSHMonitoringAI Ops
Get early access
这篇文章对您有帮助吗?

7 人赞了这篇文章

A
Aiko Nakamura高级软件工程师
🇨🇳 高级工程师,大规模平台。撰写关于用AI构建的内容。
分享:
评论 (7)

登录后即可参与讨论。

LitLover42 25 Jul 2026 · 06:42

I'm interested in how this fork handles Bun's compatibility with Node.js APIs. That's a big deal for many projects.

ArtLoverLA 25 Jul 2026 · 06:40

I'm curious about the build times. Sub-second incremental builds sound impressive, but how does it handle larger projects?

EcoWarrior99 25 Jul 2026 · 06:21

I'm excited about the potential of Zig's performance, but I wonder about the environmental impact of yet another JavaScript runtime fork.

FoodieFiona 2 25 Jul 2026 · 06:20

Interesting project! I wonder if the performance gains are significant enough to justify a fork.

Emma_London 25 Jul 2026 · 08:45

The project's focus on sustainability and social impact might outweigh performance gains for some users.

FoodieFiona 25 Jul 2026 · 08:46

It's a trade-off between performance and ecosystem support, Zig's still growing.

FoodieChicago 25 Jul 2026 · 06:20

I'm intrigued by the performance claims, but I wonder about the compatibility with existing Bun packages.

TechSavvy 25 Jul 2026 · 06:07

Zig's performance is compelling, but I'm curious about the long-term maintenance and community support for this fork.

Dr. J. 25 Jul 2026 · 05:48

Sub-second builds are impressive, but will this fork gain enough traction to challenge Bun's ecosystem?

Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

Get early access
主题
浏览
信息