Hacker News new | past | comments | ask | show | jobs | submit login

Obviously there are all kind of cute games that can be played with pointers if you know arch-specific details (IIRC v8 was using alignment guarantees to steal low bits at one point, might still be). And tagged pointers of various kinds go at least back to Symbolics if not further.

One that I thought was especially nifty was [0].

[0] https://github.com/facebook/folly/blob/master/folly/PackedSy...

Lisp 1.5 was using tagged pointers by 1962, and I don’t think it was innovative in this regard at the time.

Only because the computer it was on already had a tag field in every word. Other implementations of Lisp did similar things though: https://www.snellman.net/blog/archive/2017-09-04-lisp-number...

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact