News for hackers. Stuff that matters.
Re:ARM64 and You by mullr on Friday September 27, 2013 @12:17PM (#6457736)
It never occurred to me that they'd be using tagged pointers for Objective-C runtime stuff. Of course it's obviously a good idea, but only after hearing it does it become so. Objective-C is always more dynamic than you think it is, so taking implementation cues from other dynamic language runtimes makes perfect sense.

It appears that they've been using tagged pointers on the desktop since 10.7, which I never realized: http://objectivistc.tumblr.com/post/7872364181/tagged-pointe...

Re:ARM64 and You by roskilli on Friday September 27, 2013 @12:58PM (#6457974)
This was one of the most interesting things the post detailed for myself, makes so much sense - we do a substantial amount of allocs and reads for NSDecimalNumbers, etc in our payment based app and I can imagine the heap savings and mem write/read savings we will get as a result would of some significance. Pretty interesting innovation.
Re:ARM64 and You by mritun on Friday September 27, 2013 @11:59PM (#6460871)
Tagged pointers have been in use since late 60s in most garbage collected languages of the day.
Re:ARM64 and You by wiredfool on Saturday September 28, 2013 @12:07AM (#6460898)
It's a good idea that caused a world of hurt in the 24 bit to 32 bit transition. There were some macs that didn't have 32 bit clean roms, because they doing things with the pointers that would never have to reference more than 4 megs of ram.

Interesting that Apple now has the coordination and control to make it a non nightmare thing now.

Re:ARM64 and You by jeltz on Friday September 27, 2013 @08:25PM (#6460370)
I was surprised they did not use them already since tagged pointers is an ancient idea implemented in many languages. I guess they might not have been useful enough in ObjectiveC for 32 bit architectures.
Re:ARM64 and You by rsynnott on Saturday September 28, 2013 @01:09PM (#6462370)
They already use them in 64bit Objective C on the desktop.