I hadn't heard about that, but it sounds awesome
I meant: those are advantages over compiled MIR. We don't want to download proc macros as MIR and finish compiling them because no determinism and isolation and it's slow. We don't want to download proc macros as MIR and interpret them because it's slow too.
-
-
aaah. there is a misunderstanding here, too you couldn't do this even if you wanted to because everything after parsing (macros, types, MIR, etc) depends on the target chosen unless you have .rmeta for a fixed target like wasm32, I guess
-
We could if we wanted to, because in practice the overwhelming majority of http://crates.io requests are probably for a pretty small set of targets. You could precompile MIR for those. Perfect shouldn't be the enemy of improving compile time for 99% of users!
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.