AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Rust - How to Handle Variable Memory Requirements?
The stack and the heap are actually not data structures in the classical sense. The way that a system's proram language like rust deals with an unknown number of bites is through a process called dynamic memory allocation. As your s increase, you can kind of dig in and learn about them. It's not forced upon you. That's, i think, one of the reasons why the rust community is kind of chosen to say, we are here to in power everywhere.