News for hackers. Stuff that matters.
Re:QBE vs. LLVM by sanxiyn on Wednesday December 02, 2020 @07:36AM (#25275790)
> Implementing a complete C ABI (with struct arguments and returns) is incredibly tricky, and not really a lot of fun.

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.

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.

Re:QBE vs. LLVM by burlesona on Wednesday December 02, 2020 @09:08AM (#25276431)
Why does LLVM work that way?
Re:QBE vs. LLVM by parkovski on Wednesday December 02, 2020 @01:07PM (#25279282)
This is surprising for me, I thought LLVM abstracted away platform ABIs.