3 ms·
How does Esbuild achieve such insane differences in speed?
by threatofrain 6y ago
How does Esbuild achieve such insane differences in speed?
- wffurr 6y agohttps://esbuild.github.io/faq/#why-is-esbuild-fast https://esbuild.github.io/faq/#why-is-esbuild-fast
- amatic 6y agoIt is written in go and compiled. Go is responsible for high parallelism. The fact it is compiled is an advantage over javascript-based bundlers because they are re-compiled every time you start building the source code (did I get that right?).
- swyx 6y agopartially. we should not overstate the impact of Go. if you read his design principles doc, he also prioritized parallelization and minimizing JS AST passes. those are surely at least as important as language choice.