Hacker News new | ask | show | jobs
by talmr 19 days ago
I don’t know much about deno, and have never used it.

What is the use case, allure, etc.?

I’d prefer to get your thoughts than ask GPT, since you seem to have experience with it.

2 comments

I used it for a while, it was a sane TypeScript. Most pieces came out of the box. Deno had its own formatter, test runner, standard library, server, could run TS without a transpilation step, KV DB, and god knows what else.

Switching between Deno and standard Node/TS had me thinking why can't all of Node be this nice. Over time Node adopted some of these ideas.

Deno also made some interesting choices around dependency management, its first iteration being literal links in the import statement. This bit and subsequent npm compatibility is guaranteed flamewar material.

sane and boring was my biggest takeaway too. Felt so nice to not have to do the version pinning ritual every few weeks because one of the half dozen dev interconnected dev components updated. Very sensible and complete environment.

They were great at standards too; if it wasn't in the Deno namespace it was standardised. Import maps and Temporal early were cool and i Learned a lot reading release blogbosts that linked to tc39 proposals.

It had some achilles heels with vite & meta frameworks, linter (there was a draft PR to use oxlint which would fix that) and the language server wasn't great but I'm sad to see it die over the last year, the writing was well and truly on the wall before officially closing.

From many accounts they also had fantastic webGPU support and they released Deno desktop not long before shutting down.

I like that it's a swiss army knife of runtimes. Everything is built in.

You can build a server with a local database with zero external dependencies, it has JSX and SQLite built in.

I liked it when it first came out and was a substantial DX improvement over node. Unfortunate then that it got undercut by Bun, which had a very similar 'faster, less legacy, and batteries included' value prop. That split the just-not-node audience, and ended up ensuring that neither one ever really got the scale needed to survive independently...
Also I think Bun always explicitly aimed for Node compatibility, which Deno originally did not.