Hacker News new | ask | show | jobs
by Kiro 1710 days ago
How is it possible to be so fast?
3 comments

Answered in the FAQ:

Why is esbuild fast? https://esbuild.github.io/faq/#why-is-esbuild-fast

- It's written in Go and compiles to native code

- Parallelism is used heavily

- Written from scratch with performance as a goal

- Efficient use of memory

It also doesn't include type checking for typescript. It just transpiles sources to javascript
> It also doesn't include type checking for typescript.

If you use `@aws/sdk`, you are going to have bad time with Typescript. Resolving its types can easily take >50% of compilation time for small projects.

1. It does a few things and does them really well (not taking on the complexity of ie Webpack)

2. It’s written in Go