News for hackers. Stuff that matters.
Re:Claude Code's source code has been leaked via a map file ... by DeathArrow on Tuesday March 31, 2026 @06:12AM (#47585110)
Why is Claude Code, a desktop tool, written in JS? Is the future of all software JS or Typescript?
Re:Claude Code's source code has been leaked via a map file ... by progx on Tuesday March 31, 2026 @08:03AM (#47586114)
Anthropic acquired bun last year https://bun.com/blog/bun-joins-anthropic
Re:Claude Code's source code has been leaked via a map file ... by jsk2600 on Tuesday March 31, 2026 @06:18AM (#47585168)
Original author of Claude Code is expert on TypeScript [1]

[1] https://www.amazon.com/Programming-TypeScript-Making-JavaScr...

Re:Claude Code's source code has been leaked via a map file ... by ghywertelling on Tuesday March 31, 2026 @08:41AM (#47586501)
is that the reason why Anthropic acquired Bun, a javascript tooling company?
Re:Claude Code's source code has been leaked via a map file ... by arthur-st on Tuesday March 31, 2026 @09:04AM (#47586776)
Yes, that's essentially the only practical reason.
Re:Claude Code's source code has been leaked via a map file ... by pipes on Thursday April 09, 2026 @02:41PM (#47707835)
He commented here about it (sort of)

https://news.ycombinator.com/item?id=21934336

Thanks hackernewsbooks for sending me that!

Re:Claude Code's source code has been leaked via a map file ... by wanttosaythings on Tuesday March 31, 2026 @07:40AM (#47585877)
LLMs are good in JS and Python which means everything from now on will be written in or ported to either of those two languages. So yeah, JS is the future of all software.
Re:Claude Code's source code has been leaked via a map file ... by c0wb0yc0d3r on Tuesday March 31, 2026 @08:20AM (#47586259)
This is a common take but language servers bridge the gap well.

Language servers, however, are a pain on Claude code. https://github.com/anthropics/claude-code/issues/15619

Re:Claude Code's source code has been leaked via a map file ... by rvz on Tuesday March 31, 2026 @12:15PM (#47589628)
Would have believed you if you have said that a day later.
Re:Claude Code's source code has been leaked via a map file ... by bigbezet on Tuesday March 31, 2026 @06:19AM (#47585174)
It's not a desktop tool, it's a CLI tool.

But a lot of desktop tools are written in JS because it's easy to create multi-platform applications.

Re:Claude Code's source code has been leaked via a map file ... by TiredOfLife on Tuesday March 31, 2026 @07:25AM (#47585772)
I am happy you woke up from your 10 year coma.
Re:Claude Code's source code has been leaked via a map file ... by ivanjermakov on Tuesday March 31, 2026 @06:29AM (#47585248)
Because it's the most popular programming language in the world?
Re:Claude Code's source code has been leaked via a map file ... by monkpit on Tuesday March 31, 2026 @08:34AM (#47586429)
Alternatively: why not?