返回 2026-05-16
⚙️ 工程

不再那么锁定:Bun 从 Zig 迁移到 Rust 引发的语言可移植性讨论Not so locked in any more

simonwillison.net·2026-05-14 节选正文

Bun 项目从 Zig 转向 Rust 的开发实践引发对编程语言‘锁定效应’的反思。作者引用 Mitchell Hashimoto 的观点指出,如今编程语言已越来越具备可互换性,Rust 并非不可替代——Bun 团队可在短短一两周内切换至其他语言重写核心。这表明现代工具链和抽象层已大幅降低语言依赖性。

Simon Willison

14th May 2026

This Mitchell Hashimoto quote about Bun migrating from Zig to Rust reminded me of a similar conversation I had at a conference last week.

I was talking to someone who worked for a medium sized technology company with a pair of legacy/legendary iPhone and Android apps.

They told me they had just completed a coding-agent driven rewrite of both apps to React Native.

I asked why they chose that, given that coding agents presumably drive down the cost of maintaining separate iPhone and Android apps.

They said that React Native has improved a lot over the past few years and covered everything their apps needed to do.

And... if it turned out to be the wrong decision, they could just port back to native in the future.

Like Mitchell said:

Programming languages used to be LOCK IN, and they're increasingly not so.

需要完整排版与评论请前往来源站点阅读。