Re:What Happens to OO When Processors Are Free? (2015)
by Animats on Sunday January 15, 2017 @05:11PM
(#13406688)
Object invariants.
[ Parent
| on HN ]
Re:What Happens to OO When Processors Are Free? (2015)
by catnaroek on Sunday January 15, 2017 @05:12PM
(#13406691)
Most interesting invariants span multiple data structures. For example, when you parallelize matrix multiplication, your invariant is product of the sequence of matrices, and what varies throughout the process is the length of the sequence. Presumably, for your sanity's sake, you want to consider each matrix a separate data structure.
Re:What Happens to OO When Processors Are Free? (2015)
by catnaroek on Sunday January 15, 2017 @09:00PM
(#13407793)
In case you didn't understand the point to my first reply: Object invariants aren't powerful enough to describe how objects relate to one another, precisely because objects don't tell anything about their internal data structure to the rest of the world.