NoFOMO
Search 中EN Sign in Sign up

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.

Rank over time

Original post

Jarred Sumner @jarredsumner 195.2K followers

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
740likes 7reposts 86replies 29.1Kviews

View on X Save

What others are saying

1 more
  1. Jarred Sumner @jarredsumner 350

    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.

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