Live data from Hacker News

Anthropic acquires Bun

bun.com

581–590 of 1001 posts

Re: Anthropic acquires Bun

#583

Earlier quoted context omitted.

I'm sort of surprised to see that you used Claude Code so much. I had a vague idea that "Zig people" were generally "Software You Can Love" or "Handmade Software Movement" types, about small programs, exquisitely hand-written, etc, etc. And I know Bun started with an extreme attention to detail around performance. I would have thought LLM-generated code would run a bit counter to both of those. I had sort of carved t…

> I had a vague idea that "Zig people" were generally "Software You Can Love" or "Handmade Software Movement" types, about small programs, exquisitely hand-written, etc, etc. In my experience, the extreme anti-LLM people and extreme pro-vibecoding people are a vocal online minority. If you get away from the internet yelling match, the typical use case for LLMs is in the middle. Experienced developers use them for som…

more people should have such a healthy approach not only to llms but to life in general. Same reason I partake less and less in online discourse: its so tribal and filled with anger that its just not worth it to contribute anymore. Learning how to be in the middle did wonders to me as a programmer and I think as a person as well.

Re: Anthropic acquires Bun

#584

Earlier quoted context omitted.

I haven't used Deno, but I do use Bun purely as a replacement for npm. It does the hard-linking thing that seems to be increasingly common for package managers these days (i.e. it populates your local node_modules with a bunch of hard links to its systemwide cache), which makes it vastly quicker and more disk-efficient than npm for most usage. Even with a cold cache, `bun install` with a large-ish dependency graph is…

IIRC bun zig code base has a lot of fine optimization too. I think the lead did a conference explaining his work. Or maybe i'm confused.

https://bun.com/blog/behind-the-scenes-of-bun-install

Re: Anthropic acquires Bun

#586
post #493

Genuine question: why js? Why not something like c#: native, fast, crossplatform, strongly-typed, great tooling, supports both scripting (ie single file-based) and compiled to a binary with no dependency whatsoever (nativeAOT), great errors and error stacks, list goes on. All great for AI to recover during its iterations of generating something useful. Genuinely perplexed.

If I was to pick a language, I'd pick the one all developers agree is the best.

Ahahahahhahahahahhahahahaahaha. Please tell me this is tongue-in-cheek and just more subtle than I give HN credit for. Please.

Re: Anthropic acquires Bun

#588

As someone who have been using Deno for the last few years, is there anything that Bun does better? Bun seems to use a different runtime (JSC) which is less tested than V8, which makes me assume it might perform worse in real-world tasks (maybe not anymore?). The last time I checked Bun's source code, it was... quite messy and spaghetti-like, plus Zig doesn't really offer many safety features, so it's not that hard t…

I haven't used Deno, but I do use Bun purely as a replacement for npm. It does the hard-linking thing that seems to be increasingly common for package managers these days (i.e. it populates your local node_modules with a bunch of hard links to its systemwide cache), which makes it vastly quicker and more disk-efficient than npm for most usage. Even with a cold cache, `bun install` with a large-ish dependency graph is…

I decided to stick with Node in general. I don't see any compelling reason to change it.

Faster install and less disk space due to hardlink? Not really all that important to me. Npm comes with a cache too, and I have the disk space. I don't need it to be faster.

With the old-school setup I can easily manually edit something in node_modules to quickly test a change.

No more node_modules? It was a cool idea when yarn 2 initially implemented it, but at the end of the day I prefer things to just work rather than debug what is and isn't broken by the new resolver. At the time my DevOps team also wasn't too excited about me proposing to put the dependencies into git for the zero-install.

Re: Anthropic acquires Bun

#589
post #395

A lot of people seem confused about this acquisition because they think of Bun as a node.js compatible bundler / runtime and just compare it to Deno / npm. But I think its a really smart move if you think of where Bun has been pushing into lately which is a kind of cloud-native self contained runtime (S3 API, SQL, streaming, etc). For an agent like Claude Code this trajectory is really interesting as you are creating…

Isn't what you're describing just a set of APIs with native bindings that the LLM can call? I'm not sure I understand why it's necessary to even couple this to a runtime, let alone own the runtime? Can't you just do it as a library and train/instruct the LLM to prefer using that library?

Mostly, just Jarred Sumner makes it worth it for Anthropic.

Re: Anthropic acquires Bun

#590

Earlier quoted context omitted.

Java can run anywhere too

Not in the browser, and no – webassembly doesn't count, otherwise you can say the same about Go and others.

May I ask, what is this obsession with targeting the browser? I've also noticed a hatred of k8s here, and while I truly understand it, I'd take the complication of managing infrastructure over frontend fads any day.
Post reply on HN