News for hackers. Stuff that matters.
Re:One year of Rust by krisdol on Monday May 16, 2016 @02:46PM (#11708589)
A big pain is still JIT compilation. Last time I used rust, even small changes to code required a full re-compilation.
Re:One year of Rust by steveklabnik on Monday May 16, 2016 @02:49PM (#11708606)
To be clear: Rust doesn't have a JIT. But we've been doing a lot of work on incremental recompilation, which will fix this problem. (Or rather, we've been working on the precursor requirement, MIR.)

To be extra clear, a crate is the unit of compilation in Rust, so changing your code means that the whole crate it's in needs recompiled; your dependencies won't be. Or, if your project is split up into multiple crates, the other ones won't. Incremental recompilation will reduce this level of granularity such that the whole crate won't need to be recompiled.

Re:One year of Rust by matthewmacleod on Monday May 16, 2016 @02:51PM (#11708625)
Are you sure you mean JIT rather than incremental compilation? The former is a pretty different concept that AFAIK Rust has no implementation of.

I think we are likely to see better incremental support with the recent development of MIR, but I'm not sure what the current plans are. Should help tooling around the language generally!

Re:One year of Rust by krisdol on Tuesday May 17, 2016 @11:36AM (#11714505)
You are correct. I doubted JIT was the right word at the time but couldn't think of the right term. Incremental support is what I mean.