Y
Hacker News
new
|
ask
|
show
|
jobs
by
ponyous
21 days ago
Bun is(was?) a lot about performance. How does it compare to zig?
1 comments
stymaar
21 days 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.
link
TimSchumann
19 days ago
I believe in the latest (possibly two latest?) releases of Zig you have the option to build a self hosted compiler.
link
stymaar
19 days 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.
link