3 ms·
It's been a while and I was just a dabbler at the time - but from what I recall, Exec at least has some object-oriented features or at least influences? This i
by derriz 6y ago
It's been a while and I was just a dabbler at the time - but from what I recall, Exec at least has some object-oriented features or at least influences?
This is all hazy but wasn't there some sort of base "node" struct which had various extensions depending on the entity - at least I recall lists of such nodes where some operations could would with "base nodes" while others required specific "sub-type" nodes?
At least I remember finding the model very confusing initially - a lot of the technical documentation seemed quite abstract to me as a C novice at the time.
- flohofwoe 6y agoMost Exec data structures were organized as what's called today "intrusive doubly linked lists" where the list node struct is placed directly in front of the actual "payload data" in the same C struct. One could call that "polymorphism" and "inheritance", but IMHO it's a bit of a stretch.