Re:So We've Got a Memory Leak
by Dylan16807 on Saturday May 11, 2024 @03:50PM
(#40330244)
If the automatic allocation tools are good, then they're doing the same thing as quality manual management but with much more compiler enforcement.
[ Parent
| on HN ]
Re:So We've Got a Memory Leak
by mattpallissard on Sunday May 12, 2024 @11:08AM
(#40335090)
Not exactly, GC is a general solution. Manual management can be tailor made. But to your point more compiler enforcement is a good thing.
Re:So We've Got a Memory Leak
by Dylan16807 on Sunday May 12, 2024 @11:17AM
(#40335154)
I didn't mean just GC. Automated memory management comes in many forms and can be pretty specific.
And it can be tailored too if a situation really deserves it. If I'm doing something custom I want the smallest amount of code to verify, just the special memory manager and not everything that uses it.
Re:So We've Got a Memory Leak
by mattpallissard on Sunday May 12, 2024 @01:32PM
(#40336085)
True, I misread your original reply.