Skip to main content

What language is esbuild written in?

esbuild is written in Go.

Go was chosen because it:

  • compiles to native machine code, providing performance that JavaScript-based tools cannot reach;
  • supports multithreading, which allows processing dozens of files in parallel;
  • while remaining simple and safe enough for systems programming.

That is exactly why esbuild runs tens of times faster than traditional Node.js-based bundlers.

Short Answer

Interview ready
Premium

A concise answer to help you respond confidently on this topic during an interview.