deno VS bun

Compare deno vs bun and see what are their differences.

deno

A modern runtime for JavaScript and TypeScript. (by denoland)

bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager ā€“ all in one (by oven-sh)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
deno bun
445 273
92,417 68,425
0.4% 1.1%
9.9 10.0
2 days ago 4 days ago
Rust Zig
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

deno

Posts with mentions or reviews of deno. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-07.
  • Unison Cloud
    7 projects | news.ycombinator.com | 7 Feb 2024
    So as an end user it's kind of like https://deno.com/ where you buy into a runtime + comes prepacked with DBs (k/v stores), scheduling, and deploy stuff?

    > by storing Unison code in a database, keyed by the hash of that code, we gain a perfect incremental compilation cache which is shared among all developers of a project. This is an absolutely WILD feature, but it's fantastic and hard to go back once you've experienced it. I am basically never waiting around for my code to compile - once code has been parsed and typechecked once, by anyone, it's not touched again until it's changed.

    Interesting. Whats it like upgrading and managing dependencies in that code? I'd assume it gets more complex when it's not just the Union system but 3rd party plugins (stuff interacting with the OS or other libs).

  • Deno in 2023
    8 projects | news.ycombinator.com | 5 Feb 2024
    ~90MB+ at this stage and do now allow compression without erroring out. Deploying ala Golang is not feasible at that level but could well be down the line if this dev branch is picked up again!

    The exe output grew from from ~50MB to plus ~90MB from 2021 to 2024: https://github.com/denoland/deno/discussions/9811 which mean Deno is worse than Node.js's pkg solution by a decent margin.

  • Mini site for recommending songs using Svelte & Deno
    2 projects | dev.to | 3 Feb 2024
    Behind the scenes is a simple Sveltekit-powered server function to fetch a Spotify client token then find a user's recommendation playlist and its track information. A Deno edge function to performs this data fetch and renders server-side Svelte.
  • Supercharge your app with user extensions using Deno JavaScript runtime
    4 projects | dev.to | 24 Jan 2024
    If your application is written in JavaScript, integrating it with JavaScript extensions is a no-brainer. However, Secutils.dev is entirely written in Rust. How would I even begin? Fortunately, I recently came across an excellent blog post series explaining how to implement your JavaScript runtime in a Rust application with Deno:
    4 projects | dev.to | 24 Jan 2024
    Protecting against memory-hungry scripts in Deno is more challenging. I won't go into details about how it works and instead direct you to the issue in the Deno repository with all the details. In short, you need to create a JavaScript runtime with a specific heap limit and add a callback that's invoked when the memory limits are approached. This gives you a chance to terminate the execution before Deno/V8 crashes the entire process.
  • Oxlint ā€“ written in Rust ā€“ 50-100 Times Faster than ESLint
    13 projects | news.ycombinator.com | 15 Dec 2023
  • Deno Cron
    15 projects | news.ycombinator.com | 29 Nov 2023
    15 projects | news.ycombinator.com | 29 Nov 2023
    Thank you for the detailed feedback. Deno 1.38.4 was just released with a partial fix for the VSCode issue you mentioned. We're fixing the twisted issue too.

    https://github.com/denoland/deno/issues/21389

    15 projects | news.ycombinator.com | 29 Nov 2023
    This is being worked on: https://github.com/denoland/deno/issues/21122. Should be available with the next Deno release.
  • Hacktoberfest 2023 Recap
    10 projects | dev.to | 27 Oct 2023
    Along the way, I not only got the oppurtunity to revise old concepts that had blurred in my memory, but also learnt about new technologies like Fresh.js, a framework from Deno (a js runtime engine) that uses Preact, a React Routing library and used Chakra UI for the first time.

bun

Posts with mentions or reviews of bun. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-01.

What are some alternatives?

When comparing deno and bun you can also consider the following projects:

vite - Next generation frontend tooling. It's fast!

GORM - The fantastic ORM library for Golang, aims to be developer friendly

ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

typescript-language-server - TypeScript & JavaScript Language Server

nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

fastify - Fast and low overhead web framework, for Node.js

pnpm - Fast, disk space efficient package manager

go-pg - Golang ORM with focus on PostgreSQL features and performance

esbuild - An extremely fast bundler for the web

just - the only javascript runtime to hit no.1 on techempower :fire:

Koa - Expressive middleware for node.js using ES2017 async functions

Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core