3 ms·
Yes, this is "non-lexical borrows"/"SEME regions", and is exactly what MIR will enable. Or at least, is one of the things :)
by steveklabnik 11y ago
Yes, this is "non-lexical borrows"/"SEME regions", and is exactly what MIR will enable. Or at least, is one of the things :)
- Shoop 11y agoCould we see non-lexical borrows within the year?
- deleted 11y ago[deleted]
- steveklabnik 11y agoI'm not sure I can say for sure when they'll be ready, as MIR isn't 100% done, and they're built on top, so it's tough. There's also the difference between "lands in nightly" and "lands in stable", which could be some time for a feature so large.
- kibwen 11y agoI think it's too early to say. The devs have assured me that MIR itself will land within the year, but beyond that point I think that non-lexical borrows might be out-prioritized (though just barely so) by incremental recompilation.