logoalt Hacker News

johnfnlast Sunday at 3:39 PM4 repliesview on HN

Why would rewriting Claude code, an app which probably has 30-40 (I might be significantly underestimating) extremely active contributors be easier than rewriting Bun, which has fewer contributors and almost certainly also less lines of code?


Replies

weakfishlast Sunday at 3:54 PM

Because I’ve been told that Fable can do anything :-)

My question is moreso “why was it ever JS in the first place”

& the cost of a native rewrite would be cheaper than acquiring Bun no matter how you shake it

show 2 replies
loosescrewslast Sunday at 6:18 PM

I'm doubtful that it has fewer lines of code, but even so, it is almost certainly less tricky and simpler code. You could also rewrite it in a higher level and more forgiving language than Rust (e.g. Go) and get huge improvements. The improvements would probably be much bigger than the improvements they have achieved at the JavaScript runtime level.

jayd16last Sunday at 11:21 PM

I don't think people are saying it's easier, they're saying the results would be better.

ronniebasaklast Sunday at 3:55 PM

this. /s