10
submitted 8 months ago* (last edited 8 months ago) by darkregn@beehaw.org to c/rust@programming.dev

I’m a self taught JavaScript developer. I’ve got many years of experience but I’ve never worked in a language I use to manage memory in any form. I’ve been having a lot of fun learning rust and learning about what’s physically happening when a program is executed.

I’ve been watching Core Dumped (https://youtube.com/@CoreDumpped) and Low Level Learning (https://youtube.com/@LowLevelLearning) and it’s been so helpful. I have also been watching Let’s Get Rusty which is good for learning rust specifically, but I’m looking for more memory focused or detailed videos or channels talking about why things are happening. Do you know if any other channels, videos or resources that could help me learn more about this?

top 8 comments
sorted by: hot top controversial new old
[-] KooShnoo@programming.dev 8 points 8 months ago

Kimylamp

You will have to learn general systems programming, do not shy from c/cpp resources. Rust is a systems programming language. You will have to learn systems programming, then both c and rust will make sense. See for example The Cherno

The rust book assumes you know how to program, but it doesn't assume you're an expert on systems programming. It explains many things. The rust book is, of course, your best resource.

[-] soulsource@discuss.tchncs.de 7 points 8 months ago

I second the recommendation to start with The Book. It contains all the necessary information, especially in the chapter about ownership.

[-] darkregn@beehaw.org 1 points 8 months ago

Thanks both @KooShnoo@programming.dev and @soulsource@discuss.tchncs.de for your input! I’ve ordered The Book so looking forward to getting started with that.

[-] ericjmorey@programming.dev 5 points 8 months ago

After you read The Rust Programming Language book, read The Rustonomicon book, then What every programmer should know about memory by Ulrich Drepper, then this Stack Overflow comment about what has changed since 2007.

You won't need to read all of this to be productive, but the more you read the better your understanding will be which should make you more productive.

[-] darkregn@beehaw.org 1 points 8 months ago

Amazing thank you, just ordered the rust programming language book.

[-] ericjmorey@programming.dev 2 points 8 months ago* (last edited 8 months ago)

I linked to free resources so you wouldn't have to buy the book, but I also bought a physical copy as I find it easier to regularly read a physical copy.

Have fun!

[-] zshift@hachyderm.io 2 points 8 months ago

@darkregn Checkout @jonhoo’s channel. He has many videos doing deep dives into how rust works, and several case studies of existing crates and how they work. They are excellent resources for learning rust.

https://youtube.com/@jonhoo

[-] darkregn@beehaw.org 1 points 8 months ago* (last edited 8 months ago)

Perfect, thanks!

this post was submitted on 26 Feb 2024
10 points (85.7% liked)

Rust

5938 readers
1 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS