3 ms·
I see that on the 16 bit micros, numbers range from -32768 to 32767. Which means that bits aren't being stolen for either tags or garbage collection marking.
by bryanlarsen 6y ago
I see that on the 16 bit micros, numbers range from -32768 to 32767. Which means that bits aren't being stolen for either tags or garbage collection marking. Does that mean it uses boxing instead of tags, or are the tags just on the pointers, or is there some magic during the compilation step? I'm just partway through mal, which uses boxing, so I'd like to look at a simple implementation using tagging or another memory friendly implementation.
- munificent 6y agoFrom http://www.ulisp.com/show?1AWG http://www.ulisp.com/show?1AWG: > Every Lisp object is a two-word cell, representing either a symbol, number, or cons. (Also, it's fun to see that my article on GC was helpful. :) )
- bryanlarsen 6y agoSo basically using a full word for the tag, if I understand correctly.
- munificent 6y agoYup, exactly right.