4 ms·
> explicit memory management is to avoid memory allocation and deallocation calls in the first place No, it isn’t. Memory management. Also, so you want to wri
by kaba0 4y ago
> explicit memory management is to avoid memory allocation and deallocation calls in the first place
No, it isn’t. Memory management.
Also, so you want to write code with hardcoded sizes for everything or what? Yeah, I surely want programs that die on a string of length 35 because only 32 were allocated upfront.
Also, managed languages can have hot loops without any allocation going on, you know right?
- flohofwoe 4y agoYou really need to spend a bit of time to educate yourself and tinker a bit with manual memory management (there's a bit more to it than just calling malloc/free each time you need to grab 35 bytes of memory).
- kaba0 4y agoThank you very much, I’m quite familiar with it. As are professionals who write those GC systems we are talking about, probably much much more so than any of us.