Rust for C programmers: Revision of chapters 1..7 and new website

In the last weeks, I revised chapters 1 to 7, and moved the online version of the book to a dedicated website. This should make it easier to find the book.

The most changes got chapter 6 discussing memory management. The previous version was already quite good, but it was obvious that there was room for improvements. So I drastically rearranged the content, and added as motivation the suggested "iterator invalidation", and the enum example from the 2015 blog post. The other six chapters have not changed that much. I think chapters 8 to 25 are already quite good, but I will try to revise them as well this year. For macros and async we have still no final decision -- should be a lot of work to create that chapters.

5 Likes

In the last six weeks, I have reviewed the remaining chapters and fixed a few tiny issues. I also removed that draft tag -- I think the quality of the book is so good, that a label "draft" might be misleading. Perhaps I should even increase the star count from 4 to 5 -- in comparison to the rating of other Rust beginner books at Amazon that would be justified. But of course there is still room for a few tiny improvements, and I might have just forgot to mention a few important points, so I think 4 stars is a humble rating. In the next weeks I will fix a few too long lines in the code examples, and see if all of them can be actually run. But that should be really enough for this year.

4 Likes