惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
博客园 - 【当耐特】
量子位
Engineering at Meta
Engineering at Meta
博客园_首页
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
V
Visual Studio Blog
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
Jina AI
Jina AI
The Cloudflare Blog
T
Tailwind CSS Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
博客园 - 聂微东

The Register

Shadow IT has given way to shadow AI. Enter AI-BOMs Zed team releases version 1.0 of Rust-built editor: Traditional editor and AI tool Microsoft boss tells investors the company is working to 'win back fans' What type of 'C2 on a sleep cycle' do they leave behind? Novel Chinese spy group found in critical networks in Poland, Asia NASA boss: Make Pluto A Planet Again GitHub says sorry and vows to do better as uptime slips and devs complain Age checks could turn internet into an ID checkpoint, complains Proton CEO Microsoft gives your Word documents an AI co-author you didn’t ask for Datadog digs down into GPU efficiency as AI costs soar If malware via monitor cables is a matter of national security, this might be the gadget for you Thunderbird in hand worth 2 Outlooks as fresh FOSS fave and Firefox arrive Grafana offers AI assistant for free, warns users not to go mad Right to repair champ Framework punts modular 13in laptop with Core Ultra Series 3 France's 'Secure' ID agency probes breach as crooks claim 19M records Scotland Yard can keep using live facial recognition on Londoners, say judges UK tribunal sends £2B claim accusing Microsoft of overcharging for licensing to trial Nation-states want to cause harm, not just steal cash - stop handing your cyber defenses to the cheapest contractor Murder, she wrote: Ex-FBI chief wants some ransomware crims charged with homicide Phone-to-satellite use goes into orbit, growing 25% in 8 months macOS ClickFix attacks deliver AppleScript stealers to snarf credentials, wallets Anthropic bakes memory fixes into Bun 1.1.13 as developers complain of leaks The spaghettified DBMS chart that shows Oracle's crown is slowly slipping Yet another ex-ransomware negotiator admits turning rogue after payoff from crimelords FAA grounds Blue Origin's New Glenn as it probes missed satellite delivery 'mishap' AMD's Ryzen 9 9950X3D2 Dual Edition tested: Gratuitous overkill with a price to match AI-assisted intruders pwned Vercel via OAuth abuse and a pilfered employee account Crook claims to leak 'video surveillance footage' of companies Met police trials snoop tech platform in push to cuff more London shoplifters England's school phone ban gets teeth, just in time to bite no one Adaptavist Group breach spawns imposter emails as ransomware crew claims mega-haul
Anthrophic's Bun team trials port from Zig to Rust
2026-05-05 · via The Register

REG AD

Devops

Bun posts Rust porting guide, says rewrite is still half-baked

Zig's no-AI policy is at odds with view that most open source code will be AI-written in future

Bun creator Jarred Sumner has posted a Zig-to-Rust porting guide, igniting speculation that the project may migrate away from Zig, though Sumner said there is no commitment to rewriting, only that he is "curious to see what a working version of this looks like."

Bun, a JavaScript runtime and toolkit, is a prominent user of Zig, a general-purpose systems programming language designed by Andrew Kelley to improve on C, currently at version 0.16. Building with Zig has been a distinctive feature of Bun against its competitors Node.js, which uses C++, and Deno, which uses Rust.

That said, the Bun team has already forked Zig, claiming a four-times improvement in debug compilation times thanks to the use of parallel code generation with LLVM on macOS and Linux. These improvements cannot be upstreamed to Zig thanks to its strict no-AI policy for issues, pull requests (PRs), and comments on the bug tracker. The reason for the ban, according to Zig Software Foundation member Loris Cro, is that "the reality of LLM-based contributions has been mostly negative for us, from an increase in background noise due to worthless drive-by PRs full of hallucinations... to insane 10,000 line long first time PRs."

REG AD

Regarding Bun's Zig fork, a core Zig team member commented that "the changes in this Zig fork are not desirable to upstream," citing several reasons, including that "their parallelized semantic analysis implementation will exhibit non-deterministic behavior" and that another enhancement, splitting LLVM's backend output into multiple modules, was a waste of time and that the team was investing in incremental compilation instead, "which can improve compilation speed by orders of magnitude."

REG AD

Zig's no-AI policy may be embarrassing for Anthropic, which acquired Bun in late 2025 and uses it for Claude Code.

Another issue with Zig is that Kelley is unafraid to make breaking changes to the language, making it harder to rely on for major production projects.

Yesterday, Sumner committed a Zig-to-Rust porting guide to GitHub, explaining that the goal of "phase A" is to capture the logic, even if the Rust code does not compile, and that "Phase B makes it compile crate-by-crate."

Despite this seeming statement of intent, Sumner said on Hacker News that "we haven't committed to rewriting. There's a very high chance all this code gets thrown out completely. I'm curious to see what a working version of this looks like, what it feels like, how it performs."

Although the notion of a port from Zig to Rust has taken the community by surprise, the idea has been reasonably well received. Among Bun users, one comment is that "it always seemed a bit crazy to base your product off a language that is still in beta." Bun is admired for its speed and flexibility, but the project has also been troubled by significant bugs and memory leaks.

One thing is certain: if Bun proceeds with the port, there will be extensive use of AI to implement it. There is precedent elsewhere. Cloudflare reimplemented most of the Next.js API in one week with AI, and the Ladybird browser project ported its JavaScript engine from C++ to Rust in two weeks.

Whether Bun migrates to Rust or not, Sumner is convinced that open source software (OSS) will make increasing use of AI. Commenting on Zig's AI ban, he said on X: "I expect OSS to go the opposite direction: no human contribution allowed." People will still discuss issues and prioritization, he said, "but the actual act of writing code, of submitting PRs, of replaying and addressing feedback, of implementation will be LLMs." ®