logoalt Hacker News

afdbcreid • yesterday at 7:49 PM • 1 reply • view on HN

I'm pretty sure it does not support enough features to build the compiler (e.g. inline asm is not supported at all), and it will also be very, very slow to unusable.


Replies

ahartmetz • today at 12:11 AM

Cranelift is supposed to compile without optimizations (-O0) faster than the regular Rust compiler, and supposedly, the code runs at about the same speed as regular -O0 compiled code. That generally means 2-5x slower runtime performance, which is just fine for bootstrapping.