3 ms·
"Should" implies some normative assignment of value. > But higher level data structures like lists, sets, maps etc. are all implemented using those primitives
by sagichmal 8y ago
"Should" implies some normative assignment of value.
> But higher level data structures like lists, sets, maps etc. are all implemented using those primitives under the hood. So, especially in a "systems language", I would sort of expect them to just be libraries in the stdlib, not language features[1].
Maybe! But if those higher order structures are closer to language features than libraries -- and, specifically to this conversation, if they leverage parts of the runtime that aren't available to mere mortals -- is it a strictly worse outcome? I don't know. Some evidence might suggest yes. But I think it's at best arguable.
- uryga 8y agoI think I understand, thanks for explaining.