# C++ Standard Library

15 Hacker News commenters recommended C++ Standard Library and 23 criticized it, November 2025 to November 2026. It was recommended in 8 of 13 months.

**Verdict:** People recommend it as a usable, ready-made set of containers and algorithms that saves writing them from scratch, with good design in parts. Critics say it is dated, slow to compile, and poorly designed in places.

## Why people recommend it

- Good enough for most general use (4 comments): "The modern C++ library is actually pretty good, although you need to use very recent versions of the standard for full functionality." ([source](https://news.ycombinator.com/item?id=49922861)) "It is really at a usable level these days. Not fun, but totally bearable." ([source](https://news.ycombinator.com/item?id=48326258)) "The Standard Library is great for general-purpose computing" ([source](https://news.ycombinator.com/item?id=47283870))
- Well designed in parts (4 comments): "STL is amazing and the people that designed it were very smart." ([source](https://news.ycombinator.com/item?id=49969205)) "The STL isn't perfect but it's a good guiding principle." ([source](https://news.ycombinator.com/item?id=46928449)) "is the best designed part of C++ library" ([source](https://news.ycombinator.com/item?id=48409653))

## What people warn about

- Slow compile times (4 comments): "The C++ stdlib is (for the most part) poorly designed, usually poorly implemented, the main reason for slow build times" ([source](https://news.ycombinator.com/item?id=48409602)) "I find it a bit hard to justify using the STL when a single include costs 250ms compile time per compile unit." ([source](https://news.ycombinator.com/item?id=47074329)) "Once you get rid of the STL, compile times get so much better." ([source](https://news.ycombinator.com/item?id=48409731))
- Poor design and flaws (6 comments): "C++ stdlib was barely acceptable in the 1990s but is heavily outdated today and suffers from deeply frustrating design flaws." ([source](https://news.ycombinator.com/item?id=48415241)) "The C++ stdlib is (for the most part) poorly designed, usually poorly implemented, the main reason for slow build times" ([source](https://news.ycombinator.com/item?id=48409602)) "The C++ standard library is terrible because it was designed from nothing with no actual real-world testing." ([source](https://news.ycombinator.com/item?id=48320402))
- Dated, from the 1990s (2 comments): "the STL is very old now, so while the idea is good, this is one of the oldest" ([source](https://news.ycombinator.com/item?id=48410271)) "C++ stdlib was barely acceptable in the 1990s but is heavily outdated today and suffers from deeply frustrating design flaws." ([source](https://news.ycombinator.com/item?id=48415241))
- Slow or weak specific components (3 comments): "The provided hash tables aren't good enough so "everybody knows" to use replacements" ([source](https://news.ycombinator.com/item?id=47887859)) "large parts of the standard library are unusable (regex is slow and unfixable)" ([source](https://news.ycombinator.com/item?id=49381046)) "It's a slow generic data structure with an unintuitive API." ([source](https://news.ycombinator.com/item?id=49967008))

## Alternatives hackers recommend

- [Go standard library](https://hackerapproved.com/p/go-standard-library.md): 34 recommend
- [Python standard library](https://hackerapproved.com/p/python-standard-library.md): 13 recommend
- [Rust standard library](https://hackerapproved.com/p/rust-standard-library.md): 12 recommend
- [Java standard library](https://hackerapproved.com/p/java-standard-library.md): 7 recommend
- [Micron C++ standard library](https://hackerapproved.com/p/micron.md): 5 recommend

## Cite as

Hacker Approved, "C++ Standard Library", https://hackerapproved.com/p/c-plus-plus-standard-library/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
