I'm super stoked for all the proc macro goodness folks have been talking about. Heard folks are now experimenting with pre-compiling proc macros to wasm so we can get rid of the syn + quote compilation from http://crates.io , which would make all of this so much better!! :D
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.
I hadn't heard about that, but it sounds awesome