When you drop the semantic silliness of C++, like having the container to take care of constructing, copying, moving, and destructing, not to mention exception safety, a basic implementation of a &quot;templated&quot; dynamic array implementation in C comes down to like 100 lines. Hash map will be a bit more, and is not so trivial to write.<p>It&#x27;s true that there should be no need to write these things yourself. The alternative C++ gives is not really tempting. A language designed for demanding game development doesn&#x27;t exist (yet), so one evaluates which is the least worse option.