News for hackers. Stuff that matters.
Re:Relive: 50 years of C, the good, the bad and the ugly by estebank on Friday December 30, 2022 @03:38PM (#34189805)
Honest question: what would the engineering rationale be behind dropping LLVM entirely and have rustc have its own code generation backend? There are two out there that might be interesting, one uses gcc and another is called cranelift, but it isn't the default and focuses exclusively on compilation speed for debug binaries.
Re:Relive: 50 years of C, the good, the bad and the ugly by tmtvl on Friday December 30, 2022 @06:36PM (#34191464)
Well people keep telling me that C/C++ code should be replaced by Rust for ~safety~ reasons, and LLVM is a C++ project, so...

Let's say it would avoid all the memory bugs in LLVM, that would doubtlessly make it worth throwing away the LLVM implementation (avoid sunk cost fallacy).