3 ms·
"The C middleware that runs everything is full of "struct foo { struct foo * next; int other_field ... }"." C datastructures most commonly used are Array of st
by kristianp 11y ago
"The C middleware that runs everything is full of "struct foo { struct foo * next; int other_field ... }"."
C datastructures most commonly used are Array of structs, Trees and Hashes. Linked lists are not commonly used I imagine. I don't have any stats to back that up though, neither did you.
- agumonkey 11y agoIt's still interesting to see the duality in both paradigms. Lisp goes for genericity with the cons based list, while "static languages" reimplements them under encapsulated names. I'm not trying to compare per se, just to look at both side of the coin.