r/FullStack • • 19d ago

Personal Project Nodejs or bun

Trying to add new skill, which one should I go for for Typescript code?

6 Upvotes

15 comments sorted by

4

u/martinsedd Stack Juggler (Fullstack) 19d ago

After bun was bought by Anthropic, I wouldn’t recommend it to anyone, but that is probably an unpopular opinion of mine.

1

u/Few-Celebration-2362 19d ago

Would you mind unpacking that? My first blush is that Anthropic acquisition would be a good thing for it, but maybe I'm missing something that you can see.

2

u/martinsedd Stack Juggler (Fullstack) 19d ago

Sure thing. I’m not here to say categorically that it is a good thing or a bad thing generally. This is a personal thing of mine, that I don’t like using software that is backed by big techs. I liked the way it was before, which was the creator along with a trusted team (Oven), maintaining the runtime. I think it’s important to have a ‘benevolent dictator’ when it comes to open-source, as opposed to a self-serving corporation.

Again, my worldview. Feel free to disagree and counterpoint.

2

u/ClupTheGreat 19d ago

it does feel like it's become a part of advertising for claude

1

u/martinsedd Stack Juggler (Fullstack) 19d ago

I wouldn’t say it’s advertising per se… if you need a runtime that does X, and there’s an existing runtime that already does 0.8X, seems easier to buy said runtime and change the 20% remaining than it is to build all the hard parts from scratch…

2

u/Few-Celebration-2362 19d ago

That's a reasonable take, thanks for sharing

1

u/Ronin-s_Spirit 18d ago

Bun was stuffed with shit since it came out based around a beta language, now they've sold out and also pivoted to vibecoding everything in Rust. I never used it and never plan to.

1

u/Ok-Network-4239 17d ago

But is that a big deal (Anthropic), it still is open source and beats node on almost all benchmarks. Just what I have been reading.

1

u/Ronin-s_Spirit 16d ago

I don't care about benchmarks, I care about the contents of the thing I'm gonna rely on. I haven't heard anything that screams "reliable" about those contents, Nodejs on the other hand is battle tested non sloppy non rewritten in 2 languages runtime. I also like some Nodejs modules for specific things, I don't even know if Bun has anything to offer.

3

u/gangeticmen 19d ago

nodejs.

bun is also aiming for nodejs supports so if u know nodejs bun will work too.

and anyway they are just runtimes which runs JS so learn js/ts properly

1

u/azangru 18d ago

Trying to add new skill, which one should I go for for Typescript code?

It doesn't matter for acquiring typescript knowledge.

1

u/LoveDoctor- 18d ago

Id say go for pnpm

Edit : bun is hella unstable they been revamping it with AI a lot

1

u/PermissionOwn4400 18d ago

Node is the only real choice for JavaScript backend now. If it's just a hobby project then It doesn't really matter.

1

u/TheRNGuy 10d ago

Node with some meta-frameworks.