out of curiousity, wheat heap like structure are you talking about? there are data structures as part of the standard library that do that but as far as I know. you can avoid that and stick to data structures within the stack just fine in rust. I don't claim to be an expert so Id appreciate if you could explain further