It’s a fun thought to have a Rust compiler with no non-Rust dependencies though. Could eventually something like Redox bootstrap without a C/C++ compiler? :)
I tried it on my project and the compilation failed at some proc macro in a dependency, so it may be just a bit too early to compare its perf against mature codegens
Does this completely replace LLVM?
Llvm will likely produce better binaries.This compiler has a higher focus on compilation time
It’s a fun thought to have a Rust compiler with no non-Rust dependencies though. Could eventually something like Redox bootstrap without a C/C++ compiler? :)
Doesn’t rust std depend on libc?
Relibc (the Redox runtime) is written in Rust.
Agreed, was just wondering if rustc with cranelift still used LLVM at all
How’s the perf compared to LLVM backend?
I tried it on my project and the compilation failed at some proc macro in a dependency, so it may be just a bit too early to compare its perf against mature codegens