News for hackers. Stuff that matters.
Re:Rust: Systems Programming for Everyone by steveklabnik on Saturday August 20, 2016 @11:46AM (#12327065)
We are very interested in making Rust more learnable, and are taking active steps to make it more so:

1. I am re-writing the book with the knowledge we've gained watching people try to learn Rust over the last 18 months. For example, compare https://doc.rust-lang.org/stable/book/ownership.html to http://rust-lang.github.io/book/ch04-00-understanding-owners... ; The former version takes a rules-based, theory-heavy approach. The new version uses a concrete example with Strings, a common thing that people new to Rust struggle with.

2. Error messages are being overhauled across several axes https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-com... IDE integration is also being worked on.

3. We created a dedicated "beginners" channel on IRC, it's been a rousing success so far.

and hopefully more things in the future.

  > If I just want to quickly get something done
I think one of the big differences between Rust and C is this: in C, you can quickly get _something_ done, but it quite possibly is not the right thing. In Rust, you have to get the right thing done. That's hard at first, but gets easier over time. By now, I get stuff done more quickly in Rust than I do in C, because I rarely fight with the borrow checker, and Rust's other productivity advantages come into play: numerics, cargo and crates.io, etc.
Re:Rust: Systems Programming for Everyone by jordonwii on Saturday August 20, 2016 @01:57PM (#12327622)
Re: 1. I tried learning Rust 8 months ago, and gave up because I couldn't quite get my head around ownership, borrowing, etc. I just read through the link you gave, and the explanation of ownership now is very good - far more approachable than it was, then, in my opinion. Awesome work. :)
Re:Rust: Systems Programming for Everyone by steveklabnik on Saturday August 20, 2016 @02:15PM (#12327702)
Thank you so much! Glad to hear it.
Re:Rust: Systems Programming for Everyone by adrianratnapala on Saturday August 20, 2016 @01:37PM (#12327532)
I am very impressed with how well Rust tries to educate its user.

I especially like the error messages and the compiler's ability to tell you how to fix your error. And though I don't like to be dependent on IDEs, it would be great to see one which integrated that guidance into the editing.

But all of these are still palliatives around the fact that Rust is a complex and difficult language. Rightly so it's rules embody a lot of the practical wisdom of highly experienced programmers and lets them (and sometimes forces them) to express their advanced ideas.

Re:Rust: Systems Programming for Everyone by steveklabnik on Saturday August 20, 2016 @02:24PM (#12327738)

  > numerics
It's too late to edit this now, but I meant "generics". Whoops.
Re:Rust: Systems Programming for Everyone by soulbadguy on Saturday August 20, 2016 @12:01PM (#12327119)
Will rust have a canonical IDEs ?
Re:Rust: Systems Programming for Everyone by steveklabnik on Saturday August 20, 2016 @12:05PM (#12327145)
There's no current plans to have our own special IDE. There's not a lot of agreement about this in the Rust community; many people don't use IDEs at all, and there's not a lot of coherence on either side: vim, emacs, VS Code, IntelliJ, Visual Studio, Eclipse, the list goes on and on. So we're interested in supporting the editors people want to use, rather than trying to get everyone to use the same one.
Re:Rust: Systems Programming for Everyone by soulbadguy on Saturday August 20, 2016 @12:35PM (#12327246)
So the plan is for the compiler/tools system to expose an api that can be consume but everyone ? (a bit like C# new compiler ) ?
Re:Rust: Systems Programming for Everyone by steveklabnik on Saturday August 20, 2016 @12:51PM (#12327311)
Yup!