Re:Roc rewrites the compiler in Zig
by rererereferred on Tuesday February 04, 2025 @05:16PM
(#42939748)
Their x86 backend seems to be more complete, bypassing LLVM and allowing for fast debug builds.
[ Parent
| on HN ]
Rust has a Cranelift-based backend that you can use for that.
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.