3 ms·
Rust 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
by stymaar 5mo ago
Rust 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 5mo agoI believe in the latest (possibly two latest?) releases of Zig you have the option to build a self hosted compiler.
- stymaar 5mo 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.