NoFOMO
搜索 中EN 登录 注册

最高第 3 名 现在第 7 名

Bun 第四次 AOT 尝试

Jarred Sumner称Bun AOT第四次尝试代码设计更优、性能接近目标,且纯粹基于TypeScript。

名次变化

要点

  • @itsnoahd(Noah D)用 TypeScript 写了 Rust 编译器。
  • 该项目名为 "cargovroom",被描述为完全用 TypeScript 构建的 Rust 编译器。

要点和反应摘要由 AI 依据本页推文整理,请以原推为准。 我们怎么用 AI

原推

Jarred Sumner @jarredsumner 19.4万 粉丝

4th attempt at Bun AOT. Code quality & design is better. Perf is nearly there. Most importantly though It’s just TypeScript. Disregard everything I said last week about `as` casts changing runtime behavior and function arguments throwing. None of that is necessary.引用 @jarredsumner: this was my 3rd attempt at Bun AOT. the first two were before `bun check`, and performed worse than the JIT. it used bytecode instead of typescript types. binaries were sometimes 1 GB lol trying attempt 4 now. doesn’t work yet
492点赞 1转发 29回复 2万浏览

在 X 上查看 收藏

X 上的热门回复

X 上的反应: 回复基本都在开玩笑:有人提议再改写成 Rust 重新编译一遍,有人调侃让它更慢,也有人问编译是否更快,还有人问它能不能做饭。没有人补充关键事实或指出错误,原推作者未作回应。

登录后查看 X 上的 5 条热门回复

来自 @Neesh774, @neilsuperduper, @maria_rcks 等,已过滤广告,附中英文翻译。

免费注册 已有账号?登录

讨论 0

还没有人讨论,来说第一句。

推荐信源

觉得我们漏了哪个一手信源,或者该关注什么话题?告诉我们。审核通过后,所有人的榜单都会覆盖到它。

@用户名,或者主页链接