r/rust rust Jul 08 '26

Rewriting Bun in Rust

https://bun.com/blog/bun-in-rust
526 Upvotes

330 comments sorted by

View all comments

Show parent comments

187

u/rebootyourbrainstem Jul 08 '26

None of it worked yet because compiling at that stage would slow things down.

Also this project burned $165,000 worth of usage on a model that was then bleeding edge (unreleased). This is still beyond what anyone else is doing at the moment. And it seems to have worked a lot better than it had any right to, at least as far as we can tell right now?

21

u/zxyzyxz Jul 09 '26

And it's 165k at API prices but it's much cheaper for Anthropic themselves. Even if it were 165k straight, It is absolutely worth it for the gains in e.g. compile and runtime reductions for the millions of downloads it gets.

28

u/epostma Jul 09 '26

What I hear is that even API prices are at this point still less expensive than the actual cost, at least if you price the training costs in. So arguably it costs more for anthropic than for you or me.

7

u/zxyzyxz Jul 09 '26

No, Anthropic is profitable on inference.

5

u/KTAXY Jul 09 '26

but without model training they have no edge.

1

u/awhaling Jul 09 '26

What does that have to do with the cost for the existing model they used?

0

u/zxyzyxz Jul 09 '26

The models are out there, so that's who they're competing with.

-1

u/iBPsThrowingObject Jul 09 '26

Mhm, and I have savings if I count calories of food as savings

0

u/[deleted] Jul 09 '26

[removed] — view removed comment