最高第 1 名 已下榜
DHH谈AI与Rust及程序员未来
Rauch称DHH关于Rust的观点基本正确,Vercel已将Turborepo从Go迁移到Rust。
要点
- Vercel 将 Turborepo 从 Go 迁移到 Rust,迁移已完成,但投资回报率在内部颇受争议。
- @rauchg 称 Rust 在底层操作系统访问上更好,这对 Turbo 这类构建系统至关重要,但人力迁移成本非常高。
- @dhh 称他让 agent 分别用 Elixir、Go 和 Rust 实现并优化了 Campfire 网页应用。
- @dhh 称大多数人此前不用 Rust 写网页应用,是因为它做这件事痛苦、冗长、低效。
要点和反应摘要由 AI 依据本页推文整理,请以原推为准。 我们怎么用 AI
原推
DHH is fundamentally right about Rust. For context, Vercel has been undergoing a Rust-ification (carcinization, technically 🦀) for a while.
One of the first projects we migrated was Turborepo, from Go to Rust¹. The migration completed, but the RoI was actually quite controversial internally.
While Rust was in our eyes better for low-level OS access, something crucial for a build system like Turbo, the human migration costs were very sustantive.
Go is very fast. It's beautifully designed. It's easy to iterate on. We were very conflicted about the migration, because it was *humans* writing the code, *even if we knew Rust was a better choice*.
The calculus has now changed. What's "best for humans" is no longer necessarily "best for business".
FWIW, it's also quite unlikely that Rust is the end-all-be-all toolchain. I'm quite certain there's greener pasture ahead, because Rust itself was designed before the 'supersonic tsunami' of agents hit.
¹ https://vercel.com/blog/how-turborepo-is-porting-from-go-to-rust
讨论 0
注册 登录 后参与讨论
还没有人讨论,来说第一句。