3 ms·
I use STL now, but in the past I've seen several reason not to. Compiler support hasn't always been there, especially on embedded systems with old or poorly su
by dahart 11y ago
I use STL now, but in the past I've seen several reason not to.
Compiler support hasn't always been there, especially on embedded systems with old or poorly supported compilers.
Strict control over memory allocation hasn't always been possible with STL, and it's still not very convenient if/when you need your own allocator, e.g., embedded systems, console games.
And this isn't true any more, but I still remember what the error messages used to look like more than 15 years ago. Sometimes a single error exceeded the maximum output length for error messages in whatever compiler I was using, probably Microsoft's, and you couldn't actually see what the problem was. That left me with impressions of STL that took a long time to recover from.