Deno is slow, and why association fallacy matters

False marketing

A common logical fallacy is the Association fallacy — Rust is hyped and proven to be fast and reliable — Deno is written to some small degree in Rust; therefore it has to be fast, as Rust is! Nope — it still can’t even beat Node.js.

Association fallacy — B is not C even though A is B and A is C.

This marketing trick was used extensively for Node.js as well — back in 2010, Node.js was heavily marketed as “a C++ server” in the same way as Deno is now marketed as “a Rust server” by name dropping popular Rust tech as arguments for performance:

Hey look! It has to be fast because it touches both Rust and C++ projects!

The updated numbers

I do verification of performance regularly. Here are numbers from May 2022:

We see that even though Deno is “built on the fastest server technologies available”, it still does not perform significantly better than vanilla Node.js, and certainly not close to optimizations for Node.js. Heck, for WebSockets there are obvious performance problems still in Deno 1.32.

Remember; only performance numbers themselves say anything valid about performance.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Real World Examples of Higher Order Components (HOC) for React

Contact form using EmailJS

Shallow and Deep Copies in JavaScript

React Native Gesture Handling with ReasonML

How to call Conga Composer from Salesforce Apex

The Easiest way to Benchmarking your Server with Bombardier !!

Using EmailJS in Your React project

TypeScript: First Impressions

Image stating to learn TypeScript with TypeScript logo

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alex Hultman

Alex Hultman

More from Medium

Nodejs blueprint for Jhipster

Security: Dependency Confusion with a private npm registry

FIDO WebAuthn Passwordless: Let’s go bananas!

Web3 Rummy: WebComponent SPA Part 2/4