deno VS esbuild

Compare deno vs esbuild and see what are their differences.

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
deno esbuild
454 337
93,878 37,909
0.4% -
10.0 9.3
3 days ago 22 days ago
Rust Go
MIT License 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-08-30.
  • Proposal for Standardized JSX
    3 projects | news.ycombinator.com | 30 Aug 2024
    JSX can become valid, standardized ECMAScript syntax.

    But first we need a valid syntactic sugar transformation, which I propose here.

    Then we need to implement it in things like babel[0] bun[1] and deno[2].

    Then, frameworks would adopt it as an optional alternative implementation.

    Eventually, it could gain widespread support and become standardized.

    [0] https://github.com/sdegutis/vanillajsx.com/blob/main/site/un...

    [1] https://github.com/oven-sh/bun/issues/13630

    [2] https://github.com/denoland/deno/issues/25312

  • Deno: What we got wrong about HTTP imports
    3 projects | news.ycombinator.com | 29 Jul 2024
    Ha, in what I believe Ryan's first talk about Deno, he mentioned something about avoiding cute features or so, then he said Deno has URL-based imports "because they're cute". It didn't take long for someone to raise it up in 2018:

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

    We've come full circle :)

  • Effortless API Testing: Node.js Techniques for Next.js Route handlers
    8 projects | dev.to | 24 Jul 2024
    So, does that work now? Can we simply npm run test? Really? Well, almost. Unfortunately, Node, in comparison to other runtimes like Bun or Deno still is JavaScript only, so we have to transpile from TypeScript it to JavaScript first.
  • Top 17 Fast-Growing Github Repo of 2024
    11 projects | dev.to | 14 Jun 2024
    Deno
  • Branded Types for TypeScript
    4 projects | news.ycombinator.com | 15 May 2024
  • Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
    4 projects | dev.to | 2 Apr 2024
    NodeJS is the dominant Javascript server runtime environment for Javascript and Typescript (sort of) projects. But over the years, we have seen several attempts to build alternative runtime environments such as Deno and Bun, today’s subject, among others.
  • Bun 1.1
    17 projects | news.ycombinator.com | 1 Apr 2024
    https://github.com/denoland/deno/issues is the ideal place -- we try to triage all incoming issues, the more specific the repro the easier it is to address but we will take a look at everything that comes in.
  • I have created a small anti-depression script
    4 projects | dev.to | 5 Mar 2024
    Install Node.js (or Bun, or Deno, or whatever JS runtime you prefer) if it's not there
  • How QUIC is displacing TCP for speed
    1 project | news.ycombinator.com | 9 Feb 2024
    QUIC is very exciting, after seeing what it can do for performance in Cloudflare network and Cloudflare workers, I can't wait to finally see it in Deno[0] 1.41.

    [0] https://github.com/denoland/deno/pull/21942#issuecomment-192...

  • 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).

esbuild

Posts with mentions or reviews of esbuild. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-08-05.
  • Webpack Performance Tuning: Minimizing Build Times for Large Projects
    18 projects | dev.to | 5 Aug 2024
    Babel with 49,577,061 npm downloads per week, is the most used tool for JavaScript transformation, we looked at Esbuild as a replacement but many functionalities, most notably loadable support, are missing. Another alternative SWC, written in Rust, supports all the necessary functionalities we need, and on top of that it has APIs similar to Babel, making migration much smoother than other alternatives:
  • Optimising package size for Typescript AWS Lambda functions using serverless-esbuild
    1 project | dev.to | 18 Jul 2024
    Added a plugin to exclude vendor sourcemaps from the scripts (big reduction) exclude node_modules from source map Issue #1685 · evanw/esbuild · GitHub
  • Building NPM packages for CommonJS with ESM dependencies
    3 projects | dev.to | 15 Jul 2024
    You have to use a bundler such as esbuild which will compile your project and bundle all of it's dependencies along with it so they aren't imported. This bypasses the ESM/CommonJS incompatibility issue.
  • Oh CommonJS! Why are you mESMing with me?! Reasons to ditch CommonJS
    3 projects | dev.to | 12 Jul 2024
    However, when you want to productionize your JS library, you need to bundle it. Otherwise, you will ship all the node_modules. Is used esbuild because it is able to bundle to CJS and ESM. Now, let's run the same benchmark with the bundled version.
  • Mako – fast, production-grade web bundler based on Rust
    9 projects | news.ycombinator.com | 2 Jul 2024
    Are you familiar with Java?

    If so, a web bundler is like a build tool which creates a single fat jar from all your source code and dependencies, so all you have to "deploy" is a single file... except the fat jar is just a (usually minified) js file (and sometimes other resources like a css output file that is the "bundled" version of multiple input CSS files, and other formats that "compile" to CSS, like SCSS [1] which used to be common because CSS lacked lots of features, like variables for example, but today is not as much needed).

    Without a bundler, when you write your application in multiple JS files that use npm dependencies (99.9% of web developers), how do you get the HTML to include links to everything? It's a bit tricky to do by hand, so you get a bundler to take one or more "entry points" and then anything that it refers to gets "bundled" together in a single output file that gets minified and "tree-shaken" (dead code elimination, i.e if you don't use some functions of a lib you imported, those functions are removed from the output).

    Bundlers also process the JS code to replace stuff like CommonJS module imports/exports with ESM (the now standard module system that browsers support) and may even translate usages of newer features to code that uses old, less convenient APIs (so that your code runs in older browsers).

    I've been learning a lot about this because I am writing a project that is built on top of esbuild[2], a web bundler written in Go (I believe Vite uses it, and Vite is included in the benchmarks in this post). It's extremely fast, so fast I don't know why bother writing something in Rust to go even faster, I get all my code compiled in a few milliseconds with esbuild!

    Hope that helps.

    [1] https://sass-lang.com/documentation/syntax/

    [2] https://esbuild.github.io/

  • Farm: Fast vite compatible build tool written in Rust
    9 projects | news.ycombinator.com | 21 Jun 2024
    Indeed!

    They probably took the idea from https://esbuild.github.io

  • 5 years in, JavaScript Modules are still painful
    9 projects | news.ycombinator.com | 20 Jun 2024
    Go has the benefit of not having to reach a distributed consensus amongst a handful of individual browser vendors. Try compiling a large Go project with tinygo to get a glimpse of that experience [1]. If the browser vendors had been able to ship ES4 or ES5 with module support between 1999 and 2009, Node probably would have implemented it and there would be no dichotomy between CJS and ESM.

    [1] https://github.com/evanw/esbuild/issues/1111

  • Why and How to Migrate Your React App from CRA to Vite
    13 projects | dev.to | 10 Jun 2024
    Vite is not a bundler but a frontend tool that intelligently uses ESBuild and Rollup for their best use cases.
  • 🧠 50 Articles to Level Up
    3 projects | dev.to | 5 Jun 2024
    esbuild 0.21 is out! (https://github.com/evanw/esbuild/releases/tag/v0.21.0) by Evan Wallace Decorators for the win.
  • How to Start & Setup a React project in 2024 (7 Different Ways Based on Use Cases)
    6 projects | dev.to | 22 May 2024
    Vite is currently the best build tool for bundling Front-end applications. It's so fast because it uses esbuild under the hood. Vite hot reload is the fastest among other development tools I have used.

What are some alternatives?

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

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

swc - Rust-based platform for the Web

typescript-language-server - TypeScript & JavaScript Language Server

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

pnpm - Fast, disk space efficient package manager

Rollup - Next-generation ES module bundler

bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

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

parcel - The zero configuration build tool for the web. 📦🚀

warp-reverse-proxy - Fully composable warp filter that can be used as a reverse proxy.

terser - 🗜 JavaScript parser, mangler and compressor toolkit for ES6+

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured