Live data from Hacker News

Deno 2

deno.com

21–26 of 26 posts

Re: Deno 2

#23

Question for those who use Deno in their $job: How well does Jest work with Deno to test TypeScript? I was wondering because the announcement says it supports typescript natively, which is intriguing after I've had issues with node+jest+es6+typescript. (Issues = mts vs ts, configuration problems, lots of conflicting documentation. It doesn't help that I'm mostly DevOps and don't spend every day on writing Lambdas for…

IMO vitest is much better than Jest when it comes to TS support. It just works out-of-the-box.

Re: Deno 2

#24

Deno 2 with full Node compatibility is huge, presupposed it works reliably without runtime surprises. I wouldn't mind if I get a warning when a Node package is not supported, but runtime must be rock solid, especially with server packages like node-postgres (pg). Apart from this little doubt, I love it: The APIs and std lib are so extensive that we don't need huge amounts of third party packages. Typescript support i…

Making their stdlib compatible for other runtimes are huge W! I'd drop some third party libs in favor of them.

Re: Deno 2

#25

Deno 2 with full Node compatibility is huge, presupposed it works reliably without runtime surprises. I wouldn't mind if I get a warning when a Node package is not supported, but runtime must be rock solid, especially with server packages like node-postgres (pg). Apart from this little doubt, I love it: The APIs and std lib are so extensive that we don't need huge amounts of third party packages. Typescript support i…

Deno has had full node compatibility for a while hasn't it? It's very mature in my experience

Re: Deno 2

#26

I wonder how much Bun pushed them to have full Node.js compatibility.

Deno has had node compatibility for longer than Bun has been announced

It's always been controversial in the deno compatibility since they originally promised to take a principled stance NOT to support node in order to move the scene forward. But they quickly realized that they were in a market and they needed to compete and backtracked on that almost immediately

Post reply on HN