u/Ok-Commercial-4504in r/node • Recommends
So, what optimizations does Bun have that Node doesn't?
It's well documented that Bun has pretty amazing performance (like this video). It somehow seems the runtime is sometimes 3x the performance of Node and Deno.
So, what optimizations could Node implement to match the performance of Bun? Or more directly: what optimizations does Bun have that Node doesn't? I don't believe the answer is as simple as "Zig is faster than C++", so it must be something else...