News for hackers. Stuff that matters.
Re:Death to C by steveklabnik on Saturday May 02, 2015 @12:57PM (#9477690)
Thanks for making this! It was _very_ instructive.

First of all, I submitted a patch to remove that link to the old intro this morning, so that should go away.

Second, the issue was that you compiled the program, which worked just fine, but you never ran it! on http://doc.rust-lang.org/nightly/book/hello-world.html , the example shows:

    $ rustc main.rs
    $ ./main # or main.exe on Windows
    Hello, world!
You did the rustc, but not the ./!

As for "Learn Rust", that's one of two paths through the documentation, as the first page of the book mentions. I've been focused on the "Syntax and Semantics" section, which is the other path. "Learn Rust" is coming over the next two weeks.

Re:Death to C by akulbe on Saturday May 02, 2015 @01:08PM (#9477729)
Now I see that there was an "hw" file, now. I ran it and got the desired results. Should have paid better attention.

Hopefully, the instruction was more than, "Wow, this guy is a bonehead." :D

I think some mindset changes are needed here, in that I'm used to dealing with interpreted languages, rather than compiled ones.

Re:Death to C by steveklabnik on Saturday May 02, 2015 @01:14PM (#9477751)
It's all good! Seriously, I've taught tons of people to program, and the beginning is the hardest part.

Yeah, the two-step process is different. In the next setup section, when Cargo is introduced, you end up with a 'cargo run' command that does the build and runs your code in one step.