News for hackers. Stuff that matters.
Re:Announcing Rust 1.16 by hawkice on Thursday March 16, 2017 @02:30PM (#13887597)
I like rust a lot, but even hello world web apps compile (and recompile) so slowly. I barely get a single step down my to do list before recompiles take more than a second, and it makes it functionally unusable compared to other tools. I know this sounds silly, but it's true. I don't want the check, I want to see the webpage changed after my code changes. I keep hearing about incremental compiles but when I used nightly and tried turning it on, I guess it didn't work because compile times barely changed.
Re:Announcing Rust 1.16 by pcwalton on Thursday March 16, 2017 @02:34PM (#13887633)
Incremental compilation doesn't incrementally typecheck yet. A lot of time is spent in typechecking.

The feature is designed so that incremental typechecking can happen—it just doesn't yet.

Re:Announcing Rust 1.16 by steveklabnik on Thursday March 16, 2017 @02:32PM (#13887610)
Incremental recompilation is still underway; expect some news on it reasonably soon. Even then, it's just the start, and there's more that we can do.
Re:Announcing Rust 1.16 by wst_ on Friday March 17, 2017 @06:56AM (#13892991)
When it's out, can we actually get the same responsiveness as, let's say Java? I assume it also depends on the IDE but I would really like to see instant hints during coding session, ex. when I make mistakes.
Re:Announcing Rust 1.16 by karan85 on Friday March 17, 2017 @11:08AM (#13894508)
You can already get instant hints now with VS Code and the Rust Language Server (RLS). It's still in alpha and the initial setup is a bit involved, but it already works very well for me.

https://github.com/rust-lang-nursery/rls

https://github.com/jonathandturner/rls_vscode

For some reason, code completion via Racer doesn't work yet for me via RLS, so I use the "old" RustyCode extension for that (https://github.com/saviorisdead/RustyCode).

Re:Announcing Rust 1.16 by wst_ on Friday March 17, 2017 @11:43AM (#13894816)
I am not talking about code completion. I am talking about mistakes. Currently I have to build a project. With new Rust 1.16 I can check, but that's still a separate task that has to be launched manually. Yet, IntelliJ with Java will show you problems instantly, as well as gives you most probable options to solve them.
Re:Announcing Rust 1.16 by karan85 on Friday March 17, 2017 @11:52AM (#13894918)
I wasn't only talking about code completion either - when I make any syntax/type error I get a red squiggly after about a second and hovering shows the compiler error (which often has hints for solving it). Same goes for compiler warnings (e.g. green squigglies for dead code). Feels quite close to IntelliJ already (I use PyCharm...).
Re:Announcing Rust 1.16 by steveklabnik on Friday March 17, 2017 @09:12AM (#13893634)
I'm not sure what the lower bound is, to be honest. It's not a thing I personally work on.