This isn’t “automatic memory management”.
Sean Griffin
1

I am guessing that you believe I was referring to garbage collection when I mentioned “automatic memory management”. To be more specific, I was referring to the automatic management of pointers so it can clean up once pointers go out of scope to avoid memory leaks. It is still manual memory allocations but automated deallocations. The key difference with Rust is that it is baked into the type system where it is just a normal class in C++.

Like what you read? Give James Perry a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.