6 ms·
Bun is(was?) a lot about performance. How does it compare to zig?
by ponyous 4mo ago
Bun is(was?) a lot about performance. How does it compare to zig?
- stymaar 4mo agoRust and Zig both use the same optimizing compiler (LLVM) so assuming the vibe coded port didn't introduce performance pitfalls and kept the algorithms the same, the end result should be in the single digit performance difference with the original.
- TimSchumann 4mo agoI believe in the latest (possibly two latest?) releases of Zig you have the option to build a self hosted compiler.
- stymaar 4mo agoThat may ne useful for bootstrapping but there's no way a self-made compiler can be competitive with LLVM. Optimizing compilers are crazy beasts.