Hacker News new | past | comments | ask | show | jobs | submit login

I am essentially a art student who picked up some python and C along the way. I feel very comfortable with Rust (started a year ago). Make sure to read the books and maybe consider buying "Programming Rust" by Blandy & Orendorff which is easily one of the best language books I ever read, especially when combined with the free books available online.

I found the hardest part was stopping myself from using concepts I learned from python (e.g. Object Oriented stuff). I tried to make everything as class-like as possible. This always worked for a bit and then quickly started to make things immensly complicated. This was in fact never really necessary to solve the problem at hand. I learned to love custom data types, traits and the ability to just (for example) make my own Vec and extend it with some specialized functionality.

Rust has a incredibly good tooling and I use it more than Python nowadays.




Make sure to read the books and maybe consider buying "Programming Rust" by Blandy & Orendorff which is easily one of the best language books I ever read, especially when combined with the free books available online.

I used this book in a Rust course and I can also recommend it. What is particularly nice about this book is that in the chapters about ownership, moves, and references (which is what most learners find the most difficult) it uses neat graphs to visualize memory layout. It also places Rust memory management a bit into context by comparing Rust's memory management to other languages that the reader might know. The largest shortcoming of the book is the lack of exercises.

That said, I don't think any of the books is as good as K&R or The Go Programming Language yet. The Kernighan books are lucid and contain a lot of small, but useful, exercises/practical examples. This gives a stronger sense of accomplishment while working through the book.


I'll snag that book then, thanks for the pointer! I'm semi-useful right now but every little bit helps.

Edit: neat, its on safari queue, i don't need to buy a thing (sorta.... ignore that I pay for this yearly)


Programming Rust is the exact book I am referring. I am facing issues getting my head around the concepts as I was brainwashed by Java, Python, Scala and JavaScript. But it gets easier.


>> consider buying "Programming Rust" by Blandy & Orendorff which is easily one of the best language books I ever read

Agreed. Excellent book; very well paced and has a wonderful flowing narrative.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: