Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
stymaar
· 6mo ago · 0 comments
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.
Comments
[–]
TimSchumann
6mo ago
I believe in the latest (possibly two latest?) releases of Zig you have the option to build a self hosted compiler.
[–]
stymaar
OP
6mo ago
That may ne useful for bootstrapping but there's no way a self-made compiler can be competitive with LLVM. Optimizing compilers are crazy beasts.