Difference between revisions of "Node space"
From Organic Design wiki
m |
m (Caretaker: typos) |
||
Line 2: | Line 2: | ||
A Nodal Space is a local collection of nodes existing on a [[Peer]] at runtime to which the [[Nodal Reduction]] process occurs. All [[Node|nodes]] at runtime are referred to directly by their memory references, not by their [[Identity|global identity]] which is only used for storage and communication of nodal information, not the processing of it. | A Nodal Space is a local collection of nodes existing on a [[Peer]] at runtime to which the [[Nodal Reduction]] process occurs. All [[Node|nodes]] at runtime are referred to directly by their memory references, not by their [[Identity|global identity]] which is only used for storage and communication of nodal information, not the processing of it. | ||
− | On languages that support it, a Nodal Space can be | + | On languages that support it, a Nodal Space can be implemented by sub-classing the standard associative array syntax and methods to allow the use of ''associative-array-references'' as ''array-keys'' rather than strings or numbers. |
− | For languages that don't support this level of object-orientedness, the Nodal Space must be | + | For languages that don't support this level of object-orientedness, the Nodal Space must be implemented using functions or methods with a list of ''associative-array-references'' as a ''path'' parameter. |
Line 12: | Line 12: | ||
;See also | ;See also | ||
*[[Nodal Reduction]] | *[[Nodal Reduction]] | ||
− | *[[husk.c]]/[[nodeSpace.c]] | + | *[[husk.c]]/[[nodeSpace.c]] implements the functional way from the [[List Space]] level. |
*[[nodal-wikid.pl]] extends PERL's native hash-table to make a Nodal Space. | *[[nodal-wikid.pl]] extends PERL's native hash-table to make a Nodal Space. | ||
− | *[[peer-nodal.as]] | + | *[[peer-nodal.as]] implements the functional way since ECMA can't use references as array-keys. |
Revision as of 18:14, 28 October 2006
A Nodal Space is a local collection of nodes existing on a Peer at runtime to which the Nodal Reduction process occurs. All nodes at runtime are referred to directly by their memory references, not by their global identity which is only used for storage and communication of nodal information, not the processing of it.
On languages that support it, a Nodal Space can be implemented by sub-classing the standard associative array syntax and methods to allow the use of associative-array-references as array-keys rather than strings or numbers.
For languages that don't support this level of object-orientedness, the Nodal Space must be implemented using functions or methods with a list of associative-array-references as a path parameter.
- See also
- Nodal Reduction
- husk.c/nodeSpace.c implements the functional way from the List Space level.
- nodal-wikid.pl extends PERL's native hash-table to make a Nodal Space.
- peer-nodal.as implements the functional way since ECMA can't use references as array-keys.