5 ms·
Bun parser is a translation in Zig of ESbuild's parser. ESbuild parser is already well tuned. Bun takes zig advantages to go further.
by conaclos 4y ago
Bun parser is a translation in Zig of ESbuild's parser. ESbuild parser is already well tuned. Bun takes zig advantages to go further.
- abdellah123 4y agoI wonder how is the performance comparison between the two? And can I use bun parser as a drop in replacement for esbuild?
- conaclos 4y agoESbuild is much more mature than bun. The author of ESbuild cares a lot about compatibility with other bundlers and stability. Moreover it is already insanely fast. I am not sure there is any interest to switch from ESbuild to bun for bundling or transpiling code. By the way, I think that bun does not apply the patches of ESbuild since the translation date.