https://www.dropbox.com/s/vuax1ocki846llu/rust_example.mp4?d...
Downloading and installing Rust, no problem. Then I tried doing the "Hello, World!" example. Pretty sure I had it typed right in vim. It didn't work.
Then, I typed it in Sublime Text, it still didn't work. Then I thought, I forgot to set +x on the file, and I remember I hadn't set anything on the shebang line in the file, so I went on in the docs.
As you can see... I got to the "Learn Rust" page, and it wasn't ready yet.
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.
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.
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.
New programming languages are almost never designed with the new programmer in mind. I've spent a _lot_ of time teaching people to program, and they all have really serious hurdles. There are some good projects in this space, but they're a very, very tiny minority. Don't underestimate how hard "Hello world" is, which is actually something that that PDF I linked points out.
> they still seem incomplete.
Can you elaborate on this, with specifics? It'd be really helpful.