Peaked at #4 Off the board
Bun AOT Compilation Progress and Optimizations
Jarred Sumner says a Bun-AOT-compiled Claude Code ran 4 hours using 267MB RAM with 67 subagents; Bun AOT merges next week.
Original post
been working on Bun AOT in a Claude Code build compiled with Bun AOT for the last 4 hrs or so
Activity Monitor says 267 MB of RAM, with 67 active subagents, 66 shells, remote control + a big session transcriptQuoting @jarredsumner: Merging Bun AOT next week, then testing on Claude Code
Expecting 2-3x less memory + CPU & a slightly smaller binary
This is the future of server-side JavaScript
Instead of you rewriting in Rust, we rewrote JavaScript's compiler to emit native code ahead of time
What others are saying
1 more-
Bun creator Jarred Sumner says libraries using new Function are slow under AOT; Bun may add Bun.isAOT to detect AOT.
View on X
Top replies on X
Sign in to see 4 top replies from X
From @jarredsumner, @Avery_Coree, @FlorianCaesar 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.