Wed May 9 23:38:20 CEST 2007
tagged (colored) code
i started this already: there are 2 bits reserved in the type field of
an cell. maybe i should think a bit about the 'essence' of an atom?
the sane way: a cell can contain an object, the object is tagged. in
PF the cell is tagged, but that's just how you look at it: objects are
always in cells, so wether the bits belong to the object or to the
cell, doesn't matter. it's just a poor choice a while ago..
* an OBJECT in C is a pf_word_type_t and a pf_word_t
* a cell contains an object (owns it). there are no copies.
* packets are ref-counted. this should be seen as an optimisation:
they are also copied.