NoFOMO
Search 中EN Sign in Sign up

Peaked at #3 Now #7

Bun's Fourth AOT Attempt

Jarred Sumner says Bun's 4th AOT attempt has better design, near-target performance, and is purely TypeScript.

Rank over time

Key points

  • Noah D (@itsnoahd) wrote the Rust compiler in TypeScript.
  • The project is called "cargovroom" and is described as a Rust compiler built fully in TypeScript.

Key points and the reaction summary are written by AI from the posts on this page. Check the original post. How we use AI

Original post

Jarred Sumner @jarredsumner 194.2K followers

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.Quoting @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
492likes 1reposts 29replies 19.7Kviews

View on X Save

Top replies on X

Reaction on X: Replies are mostly joking, with several proposing further rewrites, faster or slower versions, and one asking if it can cook. No reply provides additional factual information or corrections, and the original poster did not respond.

Sign in to see 5 top replies from X

From @Neesh774, @neilsuperduper, @maria_rcks and others. Spam removed, with English and Chinese translations.

Sign up free Have an account? Sign in

Discussion 0

No comments yet. Start the conversation.

Suggest a source

Is there a first-hand source we're missing, or a topic we should watch? Tell us. Once approved, everyone's board covers it.

@username or profile link