Live data from Hacker News

Anthropic acquires Bun

bun.com

991–1000 of 1001 posts

Re: Anthropic acquires Bun

#991

Earlier quoted context omitted.

Yes, but there are obvious limits to that. This is like someone who knows how to bake wanting to build a car, so they start making it out of dough.

That is not a good analogy. Games are built using programming languages. JavaScript is a programming language. Cars are built using metals (usually steel). A better analogy would be like trying to build a car out of iron, a really heavy metal. Since js/node is very resource heavy requiring transpilation/etc…

It's not a perfect analogy, but none of my comments are directed at the use of JS for a game, it's a fine choice. It's the use of Next.js that's the issue, it's a framework for server side rendering of HTML. It serves no benefit if your goal is to make a 3D game, it only adds overhead. If he had not been using it he would have realised there's a few bundlers out there that are far better than what Next.js dev server provided at the time.

Re: Anthropic acquires Bun

#992
post #961
post #103

Earlier quoted context omitted.

Let's not forget about TigerBeetle either. They weren't bought (as far as I'm aware), but they seem to have some pretty good backing from customers.

Are the benefits of Zig really that amazing compared to Rust that it's worth choosing Zig, which is not even at 1.0 and seems to be constantly changing? Also, Zig is not memory safe the same way. That said, I can easily imagine that the developer experience is superior for Zig. More fun.

At this point I'm not sure I can give a satisfying answer, but zig was just fun to use from the beginning. It was just c, but with a bunch of special features like comptime, the lessened foot-gun-ness of zig was just a benefit since most of the conventions were just things I was doing in my head but not putting into the code (since there wasn't really a good way to do so without compromise). The other thing I liked was I could just immediately read and write it without much looking at the docs. Their standard library was a bit of a hurdle, but the fact that the whole thing existed on my disk and I could just pop it open and read the code really helped (I assume this is the same with Rust, but I have trouble reading rust without going to lookup syntax). So while I can't give good reasons for using it in a commercial setting, for personal projects it was just fun. Rust in comparison hasn't really been fun to try and pick up.

At this point however I don't really like the way zig is going. So I won't really advocate for zig at this point, but I can say when I first started using it, it was fun and I could just write code that worked.

Re: Anthropic acquires Bun

#993

Earlier quoted context omitted.

Ads. Have you seen the dotenv JavaScript package?

And don't forget when Caddy was putting ads in your servers via a `Caddy-Sponsors` header. (It was reverted after the situation gained visibility, as is tradition.)

Wow. I am unstarring Caddy. That's absolutely wild.

Re: Anthropic acquires Bun

#994

Earlier quoted context omitted.

Don't make a false equivalence, how many times does one get a panic from Deno versus a segmentation fault in Bun? It's not a similar number, and it's simply wrong to say that both are just as unsafe when that's plainly untrue.

Anecodtally? Zero segfaults with bun since I started using it back in beta.

I'm talking statistically in terms of number of issues that reference segmentation faults in the Bun vs Deno GitHub repositories. Anecdata doesn't mean much.

Re: Anthropic acquires Bun

#995
post #202

Earlier quoted context omitted.

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!

The bet is that revenue keeps growing and unit economics turn positive (which you can't do if you sell a dollar, since no one will give you more than a dollar for it)

Re: Anthropic acquires Bun

#996

Earlier quoted context omitted.

And don't forget when Caddy was putting ads in your servers via a `Caddy-Sponsors` header. (It was reverted after the situation gained visibility, as is tradition.)

Wow. I am unstarring Caddy. That's absolutely wild.

FWIW they do seem to regret it, but goes to show how very tempting it is for projects to go down the ads route once they have users.

Re: Anthropic acquires Bun

#997

Earlier quoted context omitted.

Deciding what to Implement and Implementing the Decisions are complementary, one of these is being commoditised. And, in fact, decimated. Personally I am benefitting almost beyond measure because I can spend my time as the architect rather than the builder.

Same. I don’t understand how people aren’t getting this yet. I’m spending all day thinking, planning and engineering while spending very little time typing code. My productivity is through the roof. All the code in my commits is of equal quality to what I would produce myself, why wouldn’t it be? Sure one can just ask AI to do stuff and not review it and iterate, but why on earth would one do that? I’m starting to fe…

There's a real schism, isn't there? I don't even type anymore. I've got voice transcription using whisper (which Claude built). I have like three or four Claude instances open in i3wm. I have head tracking so the mouse and therefore focus moves with my head (which Claude built). So I move my head from one to the other and speak prompts!

It's amazing!

My boss has dubbed it "programming at the speed of thought" which I'm sure he's picked up from somewhere. I've seen other people say that.

Re: Anthropic acquires Bun

#998
post #420

Earlier quoted context omitted.

on Bun's website, the runtime section features HTTP, networking, storage -- all are very web-focused. any plans to start expanding into native ML support? (e.g. GPUs, RDMA-type networking, cluster management, NFS)

Probably not. When we add new APIs in Bun, we generally base the interface off of popular existing packages. The bar is very high for a runtime to include libraries because the expectation is to support those APIs ~forever. And I can’t think of popular existing JS libraries for these things.

TensorFlow.js?

Re: Anthropic acquires Bun

#999

Earlier quoted context omitted.

> A panic + unwind in Rust is clean and _safe_, thus preferable to segfaults Curious about safety here: Are kernel / cross-thread resources (ex: a mutex/futex/fd) released on unwind (assuming the stack being unwound acquired those)?

Good question. For fds their Drop implementation closes them, yes. Rust Mutexes will be poisoned on panic (not unlocked). Not sure about futexes.

But if Rust panic’s, the entire process is dead, so everything gets reclaimed on exit by the kernel. Total annihilation.

All modern OS’s behave this way. When your process starts and is assigned an address, you get an area. It can balloon but it starts somewhere. When the process ends, that area is reclaimed.

Re: Anthropic acquires Bun

#1000

Earlier quoted context omitted.

It’s relevant enough that I feel I can roll out this bash.org classic… Saying that Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders EDIT: someone has (much to my joy) made an archive of bash.org so here is a link[1], but I must say I’m quite jealous of today’s potential 1/10,000[2] who will discover bash.org from my comment! [1] https://bash-org-archive.co…

I found another appropriate XKCD: https://xkcd.com/1682/

I truly don’t understand that one. Might be the first XKCD that has gone over my head.
Post reply on HN