Live data from Hacker News

Anthropic acquires Bun

bun.com

351–360 of 1001 posts

Re: Anthropic acquires Bun

#351

Earlier quoted context omitted.

I've found it to be at least twice as fast with practically no compat issues.

Twice as fast at executing JavaScript? There's absolutely zero chance this is true. A JavaScript engine that's twice as fast as V8 in general doesn't exist. There may be 5 or 10 percent difference, but nothing really meaningful.

[deleted]

Re: Anthropic acquires Bun

#352

Earlier quoted context omitted.

I've found it to be at least twice as fast with practically no compat issues.

Twice as fast at executing JavaScript? There's absolutely zero chance this is true. A JavaScript engine that's twice as fast as V8 in general doesn't exist. There may be 5 or 10 percent difference, but nothing really meaningful.

It depends on what. Bun has some major optimisations. You’ll have to read into them if you don’t believe me. The graphs don’t come from nowhere

Re: Anthropic acquires Bun

#354

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…

Deno does that. It also refrains from keeping a local node_modules at all until/unless you explicitly ask it to for whatever compatibility reason. There are plugins to things like esbuild to use the Deno resolver and not need a node_modules at all (if you aren't also using the Deno-provided bundler for whatever reason such as it disappeared for a couple versions and is still marked "experimental").

Re: Anthropic acquires Bun

#355

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…

Is it just me, but I don't find npm that slow? Sure it's not a speed demon, but I rarely need to do npm install anyways so it's not a bottleneck for me. For deploy, usually running the attached terraform script takes more time. So while a speed increase is welcome, but I don't feel it gives me such a boost.

The speed shows up for large projects. Especially if you end up with multiple node_modules directories in your dev sandbox.

Re: Anthropic acquires Bun

#356
post #176
post #105

Earlier quoted context omitted.

Anthropic may be losing money, but a company with $7bn revenue run rate ( https://www.anthropic.com/news/statement-dario-amodei-americ... ) is a whole lot healthier than a company with a revenue of 0.

If I had the cash, I could sell dollar bills for 50 cents and do a $7b run rate :)

you have anthropic confused with something like lovable.

anthropic's unit margins are fine, many lovable-like businesses are not.

Re: Anthropic acquires Bun

#357

Why the hell is a CLI coding agent built in JavaScript? It’s wild what happens when a generation of programmers doesn’t know anything except webdev. How far from grace we have fallen.

The big advantage of a language like JavaScript of Python for a CLI tool of this nature is that they naturally support adding extensions or plugins.

That's quite a bit harder if your tool is built using a compiled language like Go.

Re: Anthropic acquires Bun

#358
post #190

Earlier quoted context omitted.

If that was genuinely happening here - Anthropic were selling inference for less than the power and data center costs needed to serve those tokens - it would indeed be a very bad sign for their health. I don't think they're doing that. Estimates I've seen have their inference margin at ~60% - there's one from Morgan Stanley in this article, for example: https://www.businessinsider.com/amazon-anthropic-billions-cl...

>The bank's analysts then assumed Anthropic gross profit margins of 60%, and estimated that 75% of related costs are spent on AWS cloud services. Not estimate, assumption.

If Morgan Stanley are willing to stake their credibility on an assumption I'm going to take that assumption seriously.

Re: Anthropic acquires Bun

#359
post #202
post #176

Earlier quoted context omitted.

If I had the cash, I could sell dollar bills for 50 cents and do a $7b run rate :)

Surely you understand the bet Anthropic is making, and why it's a bit different than selling dollars at a discount

Maybe for those of us not-too-clever ones, what is the bet? Why is it different? Would be pretty great to have like a clear articulation of this!

Re: Anthropic acquires Bun

#360
post #43

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…

It has wayyyyy better nodejs compatibility (day 1 goal)

Pretty sure one of the Deno day 1 goals was to correct mistakes made during the early days of Node.js.
Post reply on HN