by nicoburns · 5y ago · 0 comments
Not sure if it counts as documentation, but the Rust Book actually has a very good explanation of stack and heap. I know because that's how I learnt about these concepts myself.
And, if you're just starting out, is Rust really more alien than C?
C, quite famously, needs you to understand at least double indirection of pointers (pointer to pointer of type) to be even mildly useful in the language. You can go a long way in Rust before needing to hit that level of complication.
I still wouldn't recommend C or Rust for a first programming language, but Rust really isn't that bad compared to the alternatives.