-
Recommendations about learning computer memory & how the ownership and lifetimes코딩Coding/Rust_Debugger_heap_memory_check 2022. 2. 22. 12:07728x90
can you ELI5 how the ownership and lifetimes work?
https://www.reddit.com/r/learnrust/comments/sismji/recommendations_about_learning_computer_memory/?utm_source=share&utm_medium=ios_app&utm_name=iossmf
Recommendations about learning computer memory
Hello guys. This question is not about rust itself, but while coming from JS and Python I want to get better understanding about basic things from under the hood. To become confident rust developer I definitely need and want know more about conceptions and particular solutions and their origin. The thing probably not about very low level hardware things, but about some practical knowledge which helps me write better code and better understand what exactly I'm doing and what rust does under the hood.
So could you please share some resources - articles, books etc. about memory management theory for beginners.
I realise it's a quite big topic. Basically it's complex discipline, but still.
For a Rust newbie - can you ELI5 how the ownership and lifetimes work?
I've gone through a lot of the book, but I keep getting stuck on this topic. I've been programming for almost 2 years now, but I've only ever used languages with a garbage collector - Java, Kotlin, JavaScript, Python.
I'm mostly looking for conceptual explanations, though some code would be nice as well to demonstrate.
Thank you!
Edit:
Thank you very much to everyone who responded! I really think I got it now. The Rust community is incredible!반응형'코딩Coding > Rust_Debugger_heap_memory_check' 카테고리의 다른 글
RUST_BACKTRACE=full COLORBT_SHOW_HIDDEN=1 cargo nextest run (0) 2022.03.24 Stack memory with move semantics (0) 2022.03.06 ‘set RUST_BACKTRACE=1', confirm with [enter] then type 'cargo run' (0) 2022.03.04 Valgrind Tutorial(C & C++ & Rust) (0) 2022.02.22 C++ RAII vs Rust OBRM Part1-Let’s Get Rusty (0) 2022.02.20 웹에서 C++20 컴파일해서 Assembly언어 보기 (0) 2022.02.18 러스트 앞으로 버젼에 나올 inline assembly__기대된다. 빨리 업데이트 되라!!!!__디버그에 많이 도움될듯!!!!Rust_Debug (0) 2022.02.14 Rust_디버그 GDP로하는거 연구필요함. ㅠㅠ (0) 2022.02.14