News for hackers. Stuff that matters.
Re:RLSL: a Rust to SPIR-V Compiler by the_mitsuhiko on Monday October 21, 2019 @02:27PM (#21315543)
MIR seems the better choice in rust land in general. I wonder if cranelift could be an alternative approach here in the future.
Re:RLSL: a Rust to SPIR-V Compiler by maikklein_dev on Monday October 21, 2019 @05:14PM (#21317449)
I didn't choose cranelift because there was no real benefit for it. If the focus would have been on optimizations, I might have used it. The IR seems more friendly compared MIR, although I think there is a rewrite coming to make MIR more suitable for optimizations as well :).

And I do quite a lot of transformations at the MIR level, so I am looking forward to a more optimization friendly IR.