4 ms·
> In "the obvious", note that the switch to ARM64 also allows a more efficient Obj-C runtime […] Why wouldn’t inline reference counts (as an extra 32 bit word
by sorbits 13y ago
> In "the obvious", note that the switch to ARM64 also allows a more efficient Obj-C runtime […]
Why wouldn’t inline reference counts (as an extra 32 bit word in the object struct) be just as effective on a 32 bit architecture?
Apple’s tagged pointer tricks are just making the best of a bad situation.
- mikeash 13y agoMost definitely. If you were building a new environment from scratch, there's no reason you couldn't do the same basic stuff in a 32-bit world. Apple just couldn't do it without the architecture transition because it would break everything.
- r00fus 13y agoHow are extra 32bit words considered "inline"? Wouldn't this completely miss using the register for count evaluation?