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.
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
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
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.
Discussion 0
Sign up Sign in to join the discussion
No comments yet. Start the conversation.