Re:QBE vs. LLVM
by randomNumber7 on Wednesday December 02, 2020 @07:47AM
(#25275846)
+1 I plan to write a toy compiler and considered llvm. This one thing is the reason I will never use llvm for a hobby project.
Even for non-toy compilers, I think it's a waste of human resources that every frontend has to implement the C ABI.
Why does LLVM work that way?
This is so true. Rust does it here: https://github.com/rust-lang/rust/tree/master/compiler/rustc... and it's a lot of code for no good reasons.