logoalt Hacker News

losvedirtoday at 1:27 AM1 replyview on HN

In what ways does Anthropic use Bun? I know it's used as the "runtime" for Claude Code, but rather than porting a million lines of Zig to Rust, why not just port Claude Code to rust and not need to bundle a JS runtime at all? Does Anthropic use Bun otherwise? Maybe for JS execution tool calls in Claude responses?


Replies

atonsetoday at 1:36 AM

I’ve wondered the same. Especially because codex is written in rust.

Why not just port Claude code over.

But my guess is that maybe it doesn’t have as robust a test suite?

This might embolden them to do it…