News for hackers. Stuff that matters.
Re:Fighting Rust's Expressive Type System by tijsvd on Sunday October 25, 2020 @02:44AM (#24884294)
I think that says something about the book. I initially read the book online as well, and was put off when actually trying to get something done and not succeeding.

Later, I bought "Programming Rust" by Jim Blandy, and it changed everything.

Re:Fighting Rust's Expressive Type System by atoav on Sunday October 25, 2020 @04:23AM (#24884700)
I'd second this book recommendation. It is not only the best Rust book out there, it is also one of the best books on any programming language I have read so far.

This is one of the books which I will gladly buy once more when it is updated.

Re:Fighting Rust's Expressive Type System by Boulth6 on Sunday October 25, 2020 @05:39AM (#24885023)
> This is one of the books which I will gladly buy once more when it is updated.

Agreed, Programming Rust is really nice and I read a dozen of Rust books already. I'll be buying 2nd edition as soon as it's available.

Re:Fighting Rust's Expressive Type System by some_account99 on Sunday October 25, 2020 @07:37AM (#24885494)
which edition, because honestly i found Blandy book very little value in providing any explanation about rust beyond demonstrating page over page rust's equivalences in c++. it's just really a translation of c++ patterns into rust equivalences. no explanation, history, context about language design or idiomatic patterns from the host language. I don't know the history of The Book's date of publish/development vs blandy's book enough make this any more than a conjecture: it seems like blandy's book is a re-take on the book.

also, i am not saying The book is any good beyond a tour of the language. come to think of it, it's actually less like TC++PL or D&EC++, and more like the tour of c++.

Re:Fighting Rust's Expressive Type System by tijsvd on Sunday October 25, 2020 @04:09PM (#24889477)
I bought mine March 2020.

> it's just really a translation of c++ patterns into rust equivalences. no explanation, history

Perhaps. I came from a strong C++ background, maybe that's crucial when reading it. It all just made perfect sense to me.

Re:Fighting Rust's Expressive Type System by some_account99 on Sunday October 25, 2020 @05:33PM (#24890091)
Maybe the 2020 edition is better than the one i got from 2017 but if things aren't entirely different, basically rust to you is just a reapplication of C++ idiom for a language that targets a compiler which was historically developed to emit machine code based on c++ on the demands of cpp semantics?