The Demise of Deno

(kitsonkelly.com)

62 points | by todsacerdoti 2 days ago

17 comments

  • moonlighter 13 hours ago
    "but IBM had selected Dojo Toolkit for its web interfaces and there was a moment where Dojo could have gone really big."

    Ex IBMer here. IBM didn't 'select' Dojo for its web interfaces (they looked pretty ugly compared to most of the other toolkits at the time), they picked Dojo mostly because it had the best accessibility story and i18n capabilities, and IBM made big contributions towards improving accessibility. That was back in 2006. Keep in mind that if IBM wanted to sell software projects (and the related consulting services) to any government agencies, they needed to support accessibility requirements mandated for such deployments. They also shipped Dojo as part of their WebSphere and Domino servers. It was all enterprise-y stuff, big, bloated and complicated.

    • philbo 11 hours ago
      Not sure, but I think you interpreted that sentence differently to how it was intended. It sounds like you're reading "its" as "Dojo's"? I think OP was expressing "its" as "IBM's". So a statement of fact ("they were selected") rather than an assertion of the rationale ("they were selected because").
      • kitsonk 8 hours ago
        Yeah, intended it that way. I know it was a11y as one of the drivers, but the other driver was how Dojo had kept really clean contribution license agreements and was less likely to be encumbered than other contemporaries.
      • croes 8 hours ago
        So they chose Dojo not because Dojo’s web interfaces but for IBM’s web interfaces they chose Dojo
    • wmf 13 hours ago
      I wondered at the time why IBM chose Dojo after the whole industry had standardized on JQuery. Now I know.
    • jarym 10 hours ago
      Ex-IBM too and Dojo really was poor in multiple areas compared to frameworks like (at the time) smartclient.com

      What’s worse is their JS ‘experts’ really didn’t seem that impressive and were spending their time trying to make dojo more like Java but where most of the ‘components’ didn’t integrate well or even work as documented.

      Don’t miss it and don’t miss the brain dead people that were working on it back then.

    • varispeed 10 hours ago
      > Keep in mind that if IBM wanted to sell software projects (and the related consulting services) to any government agencies

      Checks out.

      https://besacenter.org/ibm-holocaust/

  • BrunoBernardino 2 days ago
    I've written about this before, but when Deno started chasing node compatibility I thought it was a clear sign it was going to lose to bun, which was already doing that, better.

    I really liked Deno and wanted it to do better, not more things. The cloud move was also always crippled and unnecessary. Deno Deploy never worked well enough for more than side projects. No matter the version.

    My new side projects also are in Node now, which is fine (not as elegant to require oxlint for formatting and linting, and preventing script installing via .npmrc), and I currently only have 3 (big-ish) projects that are Deno and will need an eventual migration: Uruky, Uruky Site Search, and bewCloud. I'm dreading that a little bit and will likely keep pushing it for a few more months while it works well and is secure.

    • laurencerowe 14 hours ago
      Having experienced the Python 2 to 3 migration I disagree. Being able to incrementally migrate larger projects is necessary.

      I think the bigger issue is that there’s simply no money to be made in building a language runtime so VC is not a good match.

    • cobwebcheck 18 minutes ago
      [dead]
  • fastball 14 hours ago
    I disliked Deno when I first tried it after discovering the way to "manage" packages in a source file was to link to a URI at the top of every file. I know they added a centralized system a bit later but I never really got over that.
    • surye 14 hours ago
      Is that not how go's eco system works? I also found that to be difficult to accept.
      • preommr 12 hours ago
        Yea, but golang has some really good parts that make the ugly parts tolerable, and little to no competition in that space (gc, simple philosophy, fast build times, batteries included, production ready).

        Deno was subpar and Bun was good. That's game over.

        • phplovesong 12 hours ago
          I would not put go packages in the warts section. Go has some for sure (what lang does not), but packages are not one.
          • preommr 11 hours ago
            They got go modules in 2018.

            It was a complete and utter mess before that, and absolutely inexcusable to botch it that badly with how much prior art there was. It really should've been as simple as looking at python, npm, maven, cargo, etc.

            We're talking about real veterans of the industry, about a concept that's been around for as long as programming languages, getting version 1, like 4 years before LLMs.

            • phplovesong 9 hours ago
              sure, but its not NPM / php composer level of sadness. You could just use the stdlib back then, just as today.

              Having a vendor folder (or a self rolled equvilant) worked just fine for the 1-2 extra deps you needed.

              This whole "package manager thing" is mainly for noobs and novices really. As an example C manages fine with just vendoring (stb being the prime example) today, and its a 50+ yo langauge.

              • pjmlp 5 hours ago
                If we ignore the fact that pretty much all major UNIX platforms, where C was born, added package managers, including for C libraries.
      • thayne 10 hours ago
        It is something I strongly dislike about go. I don't think using the repo url as the source, rather than relying on a central repository is necessarily bad, having that url in every file that uses it, as opposed to, say, just in a single manifest file (like go.mod) seems like a bad idea.
    • nimchimpsky 13 hours ago
      [dead]
  • pjmlp 9 hours ago
    Not considering Node compatibility from the start was the big failure, contrary to the opinion voiced in the article.

    Many of us work in environments that won't consider any new fancy toy unless there is a migration story with zero attrition.

    Or at very least, the business value outcome provides an higher return than doing the same, to overcome the migration costs.

    Deno, and Bun as well, never really catered to this kind of enterprise environment.

    So everyone kept using Node.js as if they never existed, while Node.js added some of their ideas, reducing the advantages.

    We see this all over the place, e.g. Python and Ruby alternative runtimes, for all the performance improvements they have, they are mostly ignored due to not being 100% compatible with the original implementation ecosystem.

    • jFriedensreich 9 hours ago
      Ditching node.js compat was a big feature for me it was just too early. It meant that you had to properly write scripts for esm and could embrace zero legacy clean implementations. This was never going to fly for the crowd of npm addicts who don't care and the niche was too small and did not grow. If deno had been ready for AI it could have been a very different story. Agents don't care if they rewrite or use npm and if the deno permission / permission broker model would have been just a bit more usable it could have made a big difference. I made opencode work in deno with an external permission broker just before the deprecation announcement and it would have made a dream setup.
      • pjmlp 9 hours ago
        It certainly matter for agents as well, as using existing libraries is much more cost effective than burning tokens for already existing functionality.

        Even on AI fuelled world libraries do matter.

    • stingraycharles 9 hours ago
      I’m not a NodeJS developer, but isn’t Typescript compatible with JavaScript and therefore a major reason for its success?
      • pjmlp 9 hours ago
        Typescript is basically a linter, it only adds type checking on top of JavaScript, nothing else.

        People will quickly point out enumerations and namespaces as counter examples, though.

        Which trace back to early days, before the team acknowledged that was the wrong path, and pivoted into being nothing else than a type checker, and converter for older JavaScript engines, like Babel.

        Thus being a typechecker plus Babel in one package.

        Had it been yet another Coffee Script, Pure Script, Elm, Dart,... it would have failed adoption at scale, even with Microsoft stamp.

    • croes 8 hours ago
      One of Deno’s USPs was ditching node.js’ dependency hell.
      • pjmlp 8 hours ago
        Worthless if that means no libraries.
  • mattlondon 8 hours ago
    Glad to see some reflection on Node.js/NPM decision here.

    For me, when the first signs that Deno had made the decision to be compatible with Node.js started to appear, that was the moment to abandon it and move on for me.

    I loved Deno, and one of the reasons I loved it was it was a clean break from Node. For Deno to turn around and go-back on that and say - actually yeah we're just another node runtime now - that was disappointing.

    Still, it's a different world now. Who has even seen the code in the past 18 months?

  • jFriedensreich 9 hours ago
    Given that we solve somehow to have proper sandboxes on the layer below runtimes, there is still nothing that feels as smooth as running esm modules without any node modules, i sure hope this can be done in nodejs one day without hacks. I rather rewrite every dependency than have this completely absurd modules system, but swallowing it temporarily because i can't fix everything in one go.
  • simonw 14 hours ago
    > Also, I hate to say it, majoring in DX isn't how you win in the rise of agentic coding. We have to give agents tools that work for them and have toolchains that inform agents what is good and bad. You tell an agent how to approach a problem, it will go assemble its own toolkit to accomplish it, or even build it own tools.

    I've been thinking about this recently. SO much of my career has been spent building, learning, and teaching tools that help developers be as productive as possible - web frameworks, open source libraries, even little one-off CLI tools like s3-credentials (which solves the single problem of "I want an S3 bucket with IAM credentials that are only allowed to access that bucket).

    Agents can crunch through with pretty much any tool. Something that fractionally reduces the amount of code and cognitive overhead a developer needs to achieve a task isn't nearly as critical as it was a year ago.

    I'm still trying to get my head around the consequences of that.

    • perrygeo 59 minutes ago
      I've been thinking about this a lot lately - our entire concept of "best practices" was optimized for a different era. Dare I say over-optimized for developer experience at the expense of operational excellence.

      But that doesn't mean we throw it all away. LLMs still need robust tools that perform reliably. They just don't care about ergonomics. They don't get tired or complain at having to slog through tedious tasks. Making underlying tools "easy" or "one liner" does not add value. A bit of verbosity and repetition can even be a good thing in establishing clear patterns.

      Making things "simple" (as in: fundamentally robust with crystal clear semantics that can never be misinterpreted) is more important than ever. One needs only to sandbox an LLM without access to the unix binaries on your PATH to see how poorly they perform without adequate tooling. Sure, they can (and will) hack around it - at great expense to tokens and opportunity cost. Compression is intelligence and robust tools are very effective at compressing semantic intent.

    • CoolestBeans 13 hours ago
      It depends on what we're talking about. Stuff like s3-credentials probably not super valuable as one of the best things agents do is that fiddly shit. But frameworks themselves I think still matter because they provide the guardrails and channels that AI can follow that will generate code that is still comprehensible. Now a lot of people won't care about even that because they're perfectly happy to live in Plato's cave and only interface with the codebase through their agents but for some people you still need to reason about the actual code. A narrative generated by a bot won't cut it for some tasks so you need clean code and good frameworks and libraries are a big part of that.
      • 9dev 11 hours ago
        I like to believe that. But is it actually true, or a convenient story we tell ourselves? Is there really a need to ever read code again as humans going forward?
        • CoolestBeans 2 hours ago
          I have no idea but most of my job before AI was digging into code to see what's actually happening and after AI most of my job is digging into code to see what's actually happening.
    • kohukohunui 10 hours ago
      I think the same things that work well for humans also work efficiently for LLMs.

      Or maybe more obviously: difficult, inconsistent frameworks or APIs full of surprises are slower for agents as well, especially if they haven't had a bunch of RL.

      I used to watch 4.6 Opus continually trip on all same the git sharp edges people do, I think it's mostly now trained away or at least better hidden. But it's all extra effort.

    • jchanimal 13 hours ago
      I’m betting that getting sandboxing right, and by that I mean turning it into something non-technical people can understand and trust, is more important than making the code concise. This basically means building constrained deploy targets where, for example, outbound egress can be monitored by the platform.

      Some thoughts on the subject: https://good.vibes.diy/blog/scoped-to-the-app

    • pecheny 9 hours ago
      Libraries and frameworks still matter. My favourite example:

      Ask your agent to one-shot generate a web app, it will look like cringe slop (I mean visually, not code quality-wise).

      Ask your agent to one-shot generate a macos native app, it will be borderline beautiful. Because Apple has designed UIKit in such a way that it is easy to build nice-looking things and hard to build ugly things.

      Another example: it is faster and easier for modern agents to write typst than latex despite seeing 1000x less of typst in pretraining.

      So, good design still matters, and "good design for humans" is not even that different from "good design for agents"

    • 0c3ca83 14 hours ago
      Development is becoming button pressing. So is math. "Claude, gib me answer. Make no mistakes". You can talk about needing understanding, but nobody cares as long as they can sell shit.

      Nobody sane is going to put effort into learning the details, the job sucks too much. And as the AI gets better, the room for skill decreases. Like investment in a deflationary economy, learning becomes a liability. Knowing the details just means you're in a position to take the blame.

      The people building tools for AI are doing it out of inertia -- because they always did it, and it feels right to continue doing it. But they're doing things for a world that they're in the process of disassembling. Building tools so they can do things they no longer do. An echo of a human past that's being killed off.

      As I write this, there's a post on the front page about a passive AI search accidentally outdoing human results. The author didn't even realize that they had prompted the AI to discover new frontiers.

      The only question is how long it will take for this disease to spread to the rest of human intellectual achievement. How long do you think it's going to be before humans prefer AI art over human art, even as they claim they like what humans made? There's already evidence that if humans don't know, they may prefer AI music.

      • ares623 13 hours ago
        "I wake up and jump straight out of bed. I barely had enough time to glance at the clock: it was 2AM. Before I even realize it I'm already running down the hall to my son's bedroom. He's screaming and writhing in pain. I try to remain calm and ask him what's wrong. But he just cries and says 'It hurts!' in between his sobs.

        2:05AM. I speed out of the driveway while yelling at my car for 'Coordinates to hospital!' I don't even bother getting the grammar right. I choose to drive myself because the car refuses to go any faster than the speed limit. At least I still have that skill. I thank myself for that.

        2:23AM. We are at the hospital. I carry my son to the emergency area. He's still screaming. A nurse walks up to us and I sigh a bit of relief. I ask him, 'Please, can you help my son?'. He looks at me, visibly concerned, and starts typing on his work-assigned iPad with one finger. They have to type because otherwise the STT gets confused in situations like this one, where there's screaming and crying. I glance at his iPad, and see the words 'Booping' with a little asterisk animation beside it. The nurse notices it first before I do, but I'm smiling."

      • 10111001 12 hours ago
        > The only question is how long it will take for this disease to spread to the rest of human intellectual achievement. How long do you think it's going to be before humans prefer AI art over human art, even as they claim they like what humans made? There's already evidence that if humans don't know, they may prefer AI music.

        It's bizarre. Even the AI "utopias" sound like dystopias. "We built you a machine to free you from work, the need to know, and any kind of purposeful creativity. So now you're finally free to brain rot on slop until the species dies out. Maybe do drugs too (but no sex: you'll find it's too hard compared to slop)."

        • Rapzid 45 minutes ago
          It's the plot of WALL-E.
  • sethx 10 hours ago
    Oh man. Dojo. So many nice memories. I truly miss that era
  • bikeshaving 12 hours ago
    Early iterations of Deno suffered from numerous dubious design decisions. It shipped with a formatter that forced soft tabs until the complaints became too frequent. The default server handler implementation used a for-await loop `for await (const conn of listener)`, which meant that putting an await on work inside that loop made your server handle requests in series. Despite the fact that multiple people made this point over and over, it shipped in their 1.0 and took 3 years for them to back into a more traditional Deno.serve() handler API. They refused forever to support package.json, while at the same time promoting different website and registry schemes that weren’t NPM somehow. Initial versions of the Fresh framework refused to compile their JSX-flavored JavaScript ahead of time, and didn’t add this basic build step until 1.4, again because of complaints.

    The history of Deno is a series of unforced errors from people who seemed to want to write Go instead of JavaScript, and in the end many of these silly decisions were walked back because there was never any clear rationale for these random papercuts.

    • kitsonk 8 hours ago
      Never wrote Go in my life, didn't like writing Go. Learned to really like writing Rust. Ry liked Go because it was batteries included and we strove for that. Parts of the std library were inspired by Go, but that quickly diverged. Highly reductionist version. There was a lot of clear rationale for things. Sometimes too much rationale at times.
    • Kinrany 11 hours ago
      I'm still confused by Fresh, that was such a waste of resources.
    • zero_shift 8 hours ago
      My slightly catty, possibly uncharitable take, is that Ryan Dahl had one very well-timed good idea (Node.js), but since then has failed to make lightning strike twice

      I do remember the Go obsession in early Deno. I once had a decent-effort PR for a compression utility rejected, on the basis that Go took a different opinion. It did piss me off, partly for wounded pride, but also because it just seemed like a thought terminating argument - all they wanted to do was port the Go stdlib

      • pjmlp 5 hours ago
        Many of us only strike gold once, if at all.

        However there is this idol culture nowadays, that expects some kind of success delivery, one after the other.

        Which is also not healthy for those involved, trying to always match such expectations.

  • wewewedxfgdf 14 hours ago
    It was inevitable once it took investment.

    The real problem for Deno was its competition - nodejs - was "good enough" the absolute worst form of competition.

    • bitwize 13 hours ago
      Deno was the Plan 9 to Node's Unix
  • fnoef 10 hours ago
    Nobody really cared about Deno. Or bun. Outside of a group of enthusiasts.

    I guess one day companies will learn that building “an alternative to X”, when X is big and popular, is not a good product idea.

  • phplovesong 12 hours ago
    Deno should never had gone down the npm compat route. That was the key mistake. History repeats itself i guess.
  • croes 8 hours ago
    > Also, I hate to say it, majoring in DX isn't how you win in the rise of agentic coding.

    So instead of DX get AX. I miss the part where UX matters again, because for the last 5 years or so it got worse

  • worik 12 hours ago
    > yet again a time...where the best didn't win.

    This strikes a chord with me.

    The legions of mēh software that wins the race...

    Node.js, obviously

    The poster child for mediocre and successful is Windows

    I was there, doing web programming, with Perl when PHP won...

    There are many reasons in every case this happens, and just as many when it does not.

    There are some very good, and very successful softwares.

    Rust and Go have both succeeded and both are worthy

    Linux has been hugely successful in the server and SBC spaces

    It is not all bad, but we must do better - and get luckier

    • tech2 9 hours ago
      Perl committed the same sin that BeOS did. People started using Mason as a PHP-alike rather than considering a better solution. BeOS added a POSIX compatibility layer which led to no more Be software of note even though the API was lovely, everyone just ported Linux software.
      • pjmlp 5 hours ago
        Note that the POSIX layer only got good enough for Linux, instead of general UNIX, after Haiku.

        In BeOS days it was still not fully there, hence existing even books about on how to port UNIX into BeOS.

    • pjmlp 5 hours ago
      I would place Go on the same basket as PHP and Perl.

      Outside DevOps software, I ignore its existence pretty much, other than to advocate if the decision boils down to C vs Go, then Go by all means.

      The last language (partially) designed by UNIX and C authors, after the learning of what C could have done better.

    • vips7L 12 hours ago
      This is all super subjective. Personally I find both rust and go to be “meh”.
  • charan345 14 hours ago
    [dead]