logoalt Hacker News

CamouflagedKiwiyesterday at 1:29 PM2 repliesview on HN

Interesting article, seems more balanced than Andrew Kelley's one that it links to.

The thing I still think is wrong: why are Anthropic rewriting a Javascript runtime from Zig to Rust? Why not rewrite Claude Code itself in Rust (or Go or whatever, lots of options there) and drop Bun completely. That actually seems like an easier solution (rather than having to create a performant, correct Javascript runtime, just rewrite your CLI console app in something else) and the final result is better (smaller and faster) although likely not on the most critical axes for them.


Replies

andriy_kovalyesterday at 5:10 PM

> why are Anthropic rewriting a Javascript runtime from Zig to Rust?

there is a chance they tried..