Re:Handles Are the Better Pointers
by OnlyMortal on Friday June 23, 2023 @03:03AM
(#36443731)
I was using MPW C, writing with 68k for performance pinch points, and malloc() was much faster than NewHandle() - faster than NewPtr() too.
I guess there was some simple pre-allocated larger block that got parts handed out on demand. Not unlike a modern implementation.
I still miss MPW Shell.
The article got virtual memory wrong to a bit.. it got much better over the years and using relocatable handles fell by the wayside to more plain pointers.