In my experience the java profilers and debuggers are still better than anything that's available for rust.
RLS is great on a fundamental level (decoupling IDE from compiler), but it still has to catch up in functionality with the total compiler integration that for example eclipse has with ecj.
You've made at least one person's mood a little lighter today. Thank you.
Kotlin and Scala have Sum types, and Rust still needs to catch up with Scala's type system.
The owners of Java only sue reimplementors that don't respect licenses, like Microsoft and Google.
None of other commercial third parties has had any issue with Java owners.
https://en.wikipedia.org/wiki/List_of_Java_virtual_machines#...
Naturally I am not advocating for you to use Java instead of Rust, rather that it also has its uses in system work, and it is a valid option in scenarios where having a GC enabled language isn't a problem.
Rust is so easy to install and get up and running on any platform. But I am getting increasingly frustrated with documentation of many crates I try to use which were so easy in Python. For example serde, log4rs, clap (docs are pretty good).
For example, I can not find any way to change the log level in the log4rs implementation at runtime, or how to configure formatters with the yaml file.
I'm not going to claim that we have proof the Rust is more productive than Go or C++. I see some concrete advantages, however, Rust may simply better suited to the work we're doing. We might just enjoy writing it and therefore work faster.
The way I see it is that Rust guides you to better architectures, it offers a lot of very powerful features from FP and PL theory, and it's all engineered to make sense as a language. In that way, I think it's similar to Go in that they're both engineered while C++ has a lot of fossilized layers and has been organically grown for decades now. We have C++ code from half a decade ago that looks nothing like what we are writing now. It's this organic beast that has a lot of baggage. Rust and Go are engineered from the ground up, and with Rust editions I think they will avoid becoming the organic beast that C++ is now.
Similarly, the productivity difference will depend on how much run-time performance you need. It might be take longer to make Go code very fast if you need very fast. Having to work around the garbage collector, and avoiding interface {} etc.
well, Rust code from half a decade ago is also somewhat distinct from today's rust.. even basic cases don't compile anymore : http://progopedia.com/language/rust/
To summarize:
* learning curve successfully flattened to a week by... reading two books.
* painlessly interacting with a large C++ code base
* no team member dislikes the change, instead they're feeling energized and this has even brought back some from near-burnout.
* Rust is extremely productive
I can accept that the tooling's good, community's nice and type system's a pleasure to use, sure. But people don't change so easily and such drastic changes in large code bases don't go right by default.
If all of what you said above were true, every C++ codebase would have been switched yesterday.
the rust stuff in my vim dates to v. early post 1.0 and would love to link ale + rls up.
rustup component add rls-preview rust-analysis rust-src --toolchain nightly
then add this to .vim/ftplugin/rust.vim: let b:ale_linters = {'rust': ['rls','cargo','rustc']}
let g:ale_fixers = {'rust': ['rustfmt']}
let g:ale_completion_enabled = 1https://doc.rust-lang.org/stable/book/2018-edition/index.htm...
It's a nice complement to the open-source Rust book too, which may as well be read in digital form.
We're all extremely glad we chucked C++ and Go and switched to Rust. Rust isn't just a safer C++, it's a language that stands on it's own as extremely productive, safe, and fun to write. We combat the learning curve by giving people the O'Reilly book and the main Rust book, and we find new team members becoming productive in about a week. The Rust community is also amazing, and Cargo + RLS are the best ecosystem tools I've seen in any language.
I highly recommend Rust. If you have any questions, feel free to ask here. We're extremely bullish on Rust continuing to accelerate.