4 ms·
> One should just assume that people already know C/C++/Java etc coming to learn rust. It's not so simple. People coming from different languages know differe
by Manishearth 10y ago
> One should just assume that people already know C/C++/Java etc coming to learn rust.
It's not so simple. People coming from different languages know different things. Folks coming from JS may not understand the stack or how to operate in a non-GCd environment. Folks coming from C may not understand what a closure is. Folks may not come from a language with generics. Folks may not come from a language with a static type system.
All this piles up, and you effectively have to teach all of it if you want a document that anyone can use to learn Rust.
The "guessing game" tutorial is only an intro to the language. It can't explain many things without getting too large, and it's part of the book, so it expects you to continue. You don't need to read the whole book, just the first few chapters (and each chapter is pretty small, not the size of a "chapter" in typical physical programming book).
If you want a different way to learn Rust, try http://rustbyexample.com/index.html http://rustbyexample.com/index.html