2 ms·
Handles are the better handles? Pointers are just handles to heap memory. All i see advocated for here is a per "system" memory manager that also has custom co
by delusional 6y ago
Handles are the better handles?
Pointers are just handles to heap memory. All i see advocated for here is a per "system" memory manager that also has custom code that gets called on deref. On one side you get a chance to do some logic before a deref, on the other you now no longer know how long a deref takes.
I like this approach too and use it a lot, so it's good to see it advocated for. I just don't understand why they have to be "better than pointers" when they are just a different tradeoff.