Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Sorry what? I'm saying Deno suffers due to Node backward compatibility. A write up about it:

https://www.baldurbjarnason.com/2024/disillusioned-with-deno...



sort by: page size:

> deno does not have any inherent advantages over node if they support node

Could you be more specific about how this harms deno? It is just "cruft"?


> Deno seems to be a solution looking for a problem

On the contrary. Ryan Dahl, the person who created node, came up with deno, specifically to address a number of problems (or regrets) he had with node: see https://youtu.be/M3BM9TB-8yA.


Deno wasn't originally designed to be node compatible, but I think they realized nobody would want to switch to it because node is so prevalent already...

Is that still the case tho? Recent Deno releases have obscured how well it's Node compatibility mode is, I was just wondering if you have more details.

While it is sad, I can't help but agree. I've spent many, many years working with Node and tried picking up Deno recently. The small cuts quickly add up where getting even some of the official examples to work takes effort because they're ever so slightly out of date and things have changed in the interim.

That's not a fair reply. One of the main benefits of Deno is that they're using existing standards. It's Node that's the outlier.

Pretty sure Deno for Node has similar problems. Sometimes you just gotta let the past go.

It also reintroduces one of the main problems of node back into deno. https://youtu.be/M3BM9TB-8yA?t=581

I think it’s really unfair to Deno as thats existed for many years and gets ignored meanwhile a hobby project is being touted as “the node replacement”.

You realize Deno is founded by Ryan Dahl, who founded Node 12 years ago, don't you?

Perhaps you should be less quick to label anything about it "asinine" or even "awful hack".


What about Deno, rather than Node? (I know almost nothing about either, sorry if this is a stupid question.)

The post is wrong about Deno's node comparability. Deno has actually a node compat mode [1]

[1] https://deno.land/manual/node/compatibility_mode


Node has been superseded by Deno, right? How about that?

I've been pretty happy with Deno... mostly in personal use... still some rough bits in terms of Node compatibility but pretty good in general.

Time to get behind Deno

https://en.m.wikipedia.org/wiki/Deno_(software)

Built by the node team to replace node.


What was the other node alternative that was faster? I was going to try it out, but can't remember it. Deno seems too much of a change.

Yup the point I'm making is its built in. no hoops no babel. I find myself gravitating towards Deno before Node because with node I know I'll have to do some hoop jumping to make it work.

I suspect the reply was snide, masked by a smiley face, but here ya go anyhow. First result on Google for "deno vs node" https://www.imaginarycloud.com/blog/deno-vs-node/#:~:text=Wh...) that covers the basics of all three asked points.

From what I remember, Dahl considered node_modules one of the big blunders, which afaict they have avoided with Deno.
next

Legal | privacy