On 23/06/14 06:08 PM, Tony Arcieri wrote: > On Mon, Jun 23, 2014 at 3:07 PM, Daniel Micay <danielmi...@gmail.com > <mailto:danielmi...@gmail.com>> wrote: > > The language shouldn't be designed around the hypothetical good will of > a corporation. Anyway, I don't know why Swift would have the high-level > SIL IR layer if that's not where they plan on doing these optimizations. > > To flip the question around: what's wrong with Swift's approach?
Nothing is wrong with performing optimizations on a high-level IR, it's more realistic than doing it in LLVM IR. It adds complexity and hurts compile-time, but it's a pragmatic approach. However, there are no plans to have an optimization layer in Rust's frontend.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev