3 ms·
Even now STL is not perfect for realtime and threaded programming. Thus comes from outdated and schizophrenic approach to memory management. It is getting fixe
by AstralStorm 9y ago
Even now STL is not perfect for realtime and threaded programming.
Thus comes from outdated and schizophrenic approach to memory management. It is getting fixed but that will take years and multiple revisions of standard.
Let's start with lack of immutable objects, continue with missing support for pmr or allocators and finish with hidden default heap allocations in algorithms and data structures. (Including some smart pointers.)