Garbage Quote by Bjarne Stroustrup
“C++ is my favorite garbage collected language because it generates so little garbage”
About This Quote
Source Interview: C++ Programming Language, 2020
C++ can be used with garbage collection, producing minimal overhead compared to other managed languages.
In simple terms: C++ can have low‑overhead garbage collection.
Consider using C++ for performance‑critical apps with managed memory.
Themes
Mood
Type
When to use this quote
- high‑frequency trading
- game development
- embedded systems
- large‑scale simulations
Key Concepts
Questions to Reflect On
- How does low garbage impact application reliability?
- When is manual memory management preferable?
May sacrifice some safety features of full garbage‑collected languages.