[HN Gopher] Storing Data in Pointers
       ___________________________________________________________________
        
       Storing Data in Pointers
        
       Author : luu
       Score  : 10 points
       Date   : 2023-11-26 19:14 UTC (3 hours ago)
        
 (HTM) web link (muxup.com)
 (TXT) w3m dump (muxup.com)
        
       | powera wrote:
       | I don't want to say you should never do this.
       | 
       | But if you aren't writing a compiler or an embedded system, you
       | should never do this.
        
         | spacechild1 wrote:
         | It is also very useful for some lockfree algorithms, e.g. to
         | fit a pointer and a sequence number within a 64-bit value.
        
       ___________________________________________________________________
       (page generated 2023-11-26 23:01 UTC)