this post was submitted on 10 Sep 2023
222 points (94.4% liked)

Programmer Humor

19187 readers
1495 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 55 points 1 year ago (4 children)

Oh no. Another thing to learn.

[–] [email protected] 32 points 1 year ago* (last edited 1 year ago) (3 children)

It's almost 100% compatible with node but faster. A lot faster. So no need to learn anything but few cli commands. For example bun run dev instead of npm run dev.

Edit: website

[–] [email protected] 20 points 1 year ago (1 children)

Alias npm bun level compatibility?

[–] [email protected] 12 points 1 year ago

Bun is designed as a drop-in replacement for Node.js

It does seem so!

[–] [email protected] 4 points 1 year ago (1 children)

I'm trying to get my work to switch to bun but we have packages in a private AWS codeartifact repo. Does it support this? I tried to use it with our npmrc file but it couldn't install those packages.

[–] [email protected] 4 points 1 year ago

This is the first I've heard of this. Might be worth checking out.

[–] [email protected] 32 points 1 year ago (1 children)

you probably don't need to learn it, Deno was a massive upgrade over Node and it didn't matter, not convinced this will be any different.

[–] [email protected] 16 points 1 year ago (1 children)

IMO, deno's approach was bad as it was reinventing the wheel, so one had to relearn. And then they brought package.json which they said they wouldn't. This again got people to unlearn and relearn things.

Bun, on the other hand, acts like what Typescript is to Javascript. It's just feels like superset of Node, instead of completely different tool.

I expect Bun will get more success than Deno.

[–] [email protected] 0 points 1 year ago (1 children)

Makes sense. Deno was created by the same person that created node. They’re both going to be terrible, especially when they ignore everything ever discovered in software engineering about writing good code, good frameworks, good languages, etc.

[–] [email protected] -1 points 1 year ago (1 children)

deno was also created by one of the guys who created node.

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

sorry, brainfart. I read "bun is created as the same who created node" 🤦🏻‍♂️

[–] [email protected] 1 points 1 year ago (2 children)

gotcha. I don't think bun is created by the same person that created node. deno is, and has just as bad a design as node as a result. it honestly baffling that people trust someone to write a language who failed so badly to write a language that they set back the entire world for decades to come.

[–] [email protected] 2 points 1 year ago

idk I think people can learn from their mistakes and evolve. especially if they accept collaboration and RFCs.

I haven't worked much with deno, so I can't tell. But I earn my living with Node and it's ok. I dislike js way more than node itself.

I guess all the hate is around module resolution and package management.

[–] [email protected] 2 points 1 year ago

idk I think people can learn from their mistakes and evolve. especially if they accept collaboration and RFCs.

I haven't worked much with deno, so I can't tell. But I earn my living with Node and it's ok. I still hate js more than node itself.

[–] [email protected] 6 points 1 year ago (1 children)

God my thoughts exactly. Probably super cool, but still I just can't keep up

[–] [email protected] 8 points 1 year ago

Compatible with node

[–] [email protected] 5 points 1 year ago

This will be last 🥲