2 ms·
A really common use case that comes to mind immediately: parsing and AST transforms. Quite common in build tooling, quite noticeable performance difference as e
by eyelidlessness 5y ago
A really common use case that comes to mind immediately: parsing and AST transforms. Quite common in build tooling, quite noticeable performance difference as evidenced by SWC. (ESBuild doesn’t expose its AST, but it’s also quite a lot faster than comparable plain JS at what it does expose in its JS interface).
- Ginden 5y agoI wrote about use case where "spawning process to do heavy work is not a viable option". ESBuild DOES spawn process to do heavy work. https://github.com/evanw/esbuild/blob/11d7eacd491c94d2aa23cd7d48ffd9195f26c108/lib/npm/node.ts https://github.com/evanw/esbuild/blob/11d7eacd491c94d2aa23cd...
- eyelidlessness 5y agoYou’re correct. I didn’t cite ESBuild as a use case, I mentioned it to give credit where it was due.
- trinovantes 5y agoThe performance difference between webpack and esbuild is like night and day