Re:Mrustc: a Rust compiler written in C++
by tmzt on Friday September 22, 2017 @03:31PM
(#15315044)
Yes, but I mean outputing actual Rust source but with generators or async/await expanded into calls to Futures. Similar to how Go is now bootstrapped from a down-level compiler.
[ Parent
| on HN ]
Re:Mrustc: a Rust compiler written in C++
by steveklabnik on Friday September 22, 2017 @08:17PM
(#15317174)
Yeah, I get it. But that's what I mean; MIR is the common sub-language that's the same across epochs.
I don't think there's any real plans for a source-based approach. But epochs can only change a limited amount of things for exactly this reason; they minimize the compiler burden of supporting them.