News for hackers. Stuff that matters.
Re:mrustc: In-progress alternative Rust compiler (to C) by monocasa on Sunday February 28, 2021 @04:09PM (#26297086)
Yeah, rustc dogfoods new features, so it's _very_ painful. It'd probably be close to 100 or so compilers to go back to the ocaml that it started from.
Re:mrustc: In-progress alternative Rust compiler (to C) by LegionMammal978 on Sunday February 28, 2021 @04:38PM (#26297326)
I've actually been trying this for real. Right now, I'm at the 82-compiler mark, including the ~6 LLVM versions needed. For a sense of scale, the most recent compiler in this chain is the 2011-12-07 snapshot, which is still older than Rust 0.1 (2012-01-20). In most cases, additional compilers are needed only to resolve syntax errors, but there are occasional LLVM-related segfaults that create most of my headaches.
Re:mrustc: In-progress alternative Rust compiler (to C) by wh33zle on Sunday February 28, 2021 @04:47PM (#26297404)
Is your work publicly available somewhere?
Re:mrustc: In-progress alternative Rust compiler (to C) by LegionMammal978 on Sunday February 28, 2021 @05:20PM (#26297655)
The scripts are still pretty messy right now. I'll probably clean them up a bit and upload them once I reach 0.1.