Re:Roc rewrites the compiler in Zig
by zozbot234 on Tuesday February 04, 2025 @05:24PM
(#42939850)
Rust has a Cranelift-based backend that you can use for that.
[ Parent
| on HN ]
Re:Roc rewrites the compiler in Zig
by bhansconnect on Tuesday February 04, 2025 @05:57PM
(#42940353)
It sadly helps a lot less than you would hope. A true dev backend can be many times faster than llvm to compile code. Crane lift is more like a 1.5x or 2x. Not to mention a lot of time is spent in the rust frontend.