C++ STL Usage
The cluster debates the merits of using the C++ Standard Template Library (STL), including its usefulness, portability, performance concerns, and alternatives like custom implementations, Boost, or replacements such as EASTL.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Do people really not use the STL? It's incredibly useful, and portable!
Sure, why not. It's better C++ and STL.
Are you saying a C++ developer shouldn't use the standard library?
I knew one guy who used C++ but hated STL and most of standard library. He usually implemented data structures in-place as he need them (linked list, growable array, etc). While it seems strange to reimplement similar data structure over and over again, it worked for him. And one particularly wonderful thing was how fast his projects compiled. He had one project with few libraries, around 100k lines and it compiled very fast, something like second from the scratch and it was 10 years ago.
No because of the current active community around C++. The large standard template library is safer to use than in-house implementation of the same data structures. The C++ Boost library also gives you a large arsenal of utility functions that is vetted by the community.
As much as i dislike C++.. Std is invaluable in comparison to home baked C libs
If you can't use Boost and STL, you're C++'ing in the stone age.
Why didn't they just use the same algorithms as typical implementations of C++'s STL?
In what way can βSTLβ be considered a performance hit? It looks like you just threw out every C++-related word you know.
Because people tend to write c++ for performance reasons and the perf profiles of std::vector are not always sufficient