---
title: "Meaning & Key Takeaway of: C++ is my favorite garbage collected…"
description: "\"C++ is my favorite garbage collected language because it generates so little garbage\" — Bjarne Stroustrup"
image: "https://sms4smile.com/quotes/i/245/bjarne-stroustrup-11774_garbage_c-is-my-favorite-garbage-collected-langu_2433902.jpg"
---

#  C++ is my favorite garbage collected language because it…

![“C++ is my favorite garbage collected language because it generates so little garbage” quote by Bjarne Stroustrup](https://sms4smile.com/quotes/i/245/bjarne-stroustrup-11774_garbage_c-is-my-favorite-garbage-collected-langu_2433902.jpg)   [Download](https://sms4smile.com/quotes/i/245/bjarne-stroustrup-11774_garbage_c-is-my-favorite-garbage-collected-langu_2433902.jpg) [Open image](https://sms4smile.com/quotes/i/245/bjarne-stroustrup-11774_garbage_c-is-my-favorite-garbage-collected-langu_2433902.jpg)

> “C++ is my favorite garbage collected language because it generates so little garbage”

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

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.

Key Takeaway

Consider using C++ for performance‑critical apps with managed memory.

Themes

programming performance memory management

Mood

pragmatic analytical

Type

technical informative

When to use this quote

- high‑frequency trading
- game development
- embedded systems
- large‑scale simulations

Key Concepts

garbage collection efficiency resource control

Questions to Reflect On

- How does low garbage impact application reliability?
- When is manual memory management preferable?

A Different Perspective

May sacrifice some safety features of full garbage‑collected languages.

★ ★ ★ ★ ★   No ratings yet

[Favorite Garbage](https://sms4smile.com/quotes/about/favorite-garbage-315039/) [Garbage](https://sms4smile.com/quotes/about/garbage/) [Garbage Collected](https://sms4smile.com/quotes/about/garbage-collected-315038/) [Generates Little](https://sms4smile.com/quotes/about/generates-little-315042/) [Language](https://sms4smile.com/quotes/about/language/) [Language Generates](https://sms4smile.com/quotes/about/language-generates-315040/) [Little Garbage](https://sms4smile.com/quotes/about/little-garbage-315041/) [Littles](https://sms4smile.com/quotes/about/littles/) [My favorite](https://sms4smile.com/quotes/about/my-favorite/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [I'd take garbage, and I'd glue them together and create inventions.](https://sms4smile.com/quotes/ann-makosinski/i-d-take-garbage-and-i-d-glue-them-together-and-create-inventions/)

[Ann Makosinski](https://sms4smile.com/quotes/author/ann-makosinski/)

> [I hope we're not just human garbage drifting toward a big sewer. But I think so.](https://sms4smile.com/quotes/george-carlin/i-hope-we-re-not-just-human-garbage-drifting-toward-a-big-sewer-but-i/)

[George Carlin](https://sms4smile.com/quotes/author/george-carlin/)

> [I would love to say there was some contemporary artist who's work really got me thinking, but lately I have just been trying to…](https://sms4smile.com/quotes/cory-arcangel/i-would-love-to-say-there-was-some-contemporary-artist-who-s-work/)

[Cory Arcangel](https://sms4smile.com/quotes/author/cory-arcangel/)

> [I don't know if it's fair to say that it's a bad time for movies. It seems to me that throughout the entire history…](https://sms4smile.com/quotes/william-h-macy/i-don-t-know-if-it-s-fair-to-say-that-it-s-a-bad-time-for-movies-it/)

[William H. Macy](https://sms4smile.com/quotes/author/william-h-macy/)

> [Our bodies are garbage heaps: we collect experience, and from the decomposition of the thrown-out eggshells, spinach leaves, coffee grinds, and old steak bones…](https://sms4smile.com/quotes/natalie-goldberg/our-bodies-are-garbage-heaps-we-collect-experience-and-from-the/)

[Natalie Goldberg](https://sms4smile.com/quotes/author/natalie-goldberg/)

> [Seasides so beautiful! Look at the garbage!](https://sms4smile.com/quotes/pauly-d/seasides-so-beautiful-look-at-the-garbage/)

[Pauly D](https://sms4smile.com/quotes/author/pauly-d/)

> [“Sarah Cynthia Sylvia Stout Would not take the garbage out! She'd scour the pots and scrape the pans, Candy the yams and spice the…](https://sms4smile.com/quotes/shel-silverstein/sarah-cynthia-sylvia-stout-would-not-take-the-garbage-out-she-d-scour/)

[Shel Silverstein](https://sms4smile.com/quotes/author/shel-silverstein/)

> [Currently, it was leading him through a neighborhood that was on the downside of whatever curve you hoped you'd bought your property on the…](https://sms4smile.com/quotes/terry-pratchett/currently-it-was-leading-him-through-a-neighborhood-that-was-on-the/)

[Terry Pratchett](https://sms4smile.com/quotes/author/terry-pratchett/)

> [Many musicals you can take and throw in the garbage can because no one took the time to write a song you can care…](https://sms4smile.com/quotes/dennis-deyoung/many-musicals-you-can-take-and-throw-in-the-garbage-can-because-no/)

[Dennis DeYoung](https://sms4smile.com/quotes/author/dennis-deyoung/)

> [I will be known forever as the Puppy who chased a cutpurse and caught fish garbage instead. My descendants will pretend I'm not in…](https://sms4smile.com/quotes/tamora-pierce/i-will-be-known-forever-as-the-puppy-who-chased-a-cutpurse-and-caught/)

[Tamora Pierce](https://sms4smile.com/quotes/author/tamora-pierce/)

> [Guns cause crime like flies cause garbage!](https://sms4smile.com/quotes/l-neil-smith/guns-cause-crime-like-flies-cause-garbage/)

[L. Neil Smith](https://sms4smile.com/quotes/author/l-neil-smith/)

> [I take apart restaurant menus everywhere I go. I kind of tick off a lot of chefs in restaurants because I'll say, 'You can…](https://sms4smile.com/quotes/montel-williams/i-take-apart-restaurant-menus-everywhere-i-go-i-kind-of-tick-off-a/)

[Montel Williams](https://sms4smile.com/quotes/author/montel-williams/)

> [If you listen to the radio for a whole hour there's maybe one decent song. The rest is mass-produced garbage](https://sms4smile.com/quotes/haruki-murakami/if-you-listen-to-the-radio-for-a-whole-hour-there-s-maybe-one-decent/)

[Haruki Murakami](https://sms4smile.com/quotes/author/haruki-murakami/)

> [Capitalism, communism ... it's all garbage.](https://sms4smile.com/quotes/mstislav-rostropovich/capitalism-communism-it-s-all-garbage/)

[Mstislav Rostropovich](https://sms4smile.com/quotes/author/mstislav-rostropovich/)

> [“My memory, sir, is like a garbage disposal.”](https://sms4smile.com/quotes/jorge-luis-borges/my-memory-sir-is-like-a-garbage-disposal/)

[Jorge Luis Borges](https://sms4smile.com/quotes/author/jorge-luis-borges/)

## More by Bjarne Stroustrup

> [Always think about how a piece of code should be used: good interfaces are the essence of good code. You can hide all kinds…](https://sms4smile.com/quotes/bjarne-stroustrup/always-think-about-how-a-piece-of-code-should-be-used-good-interfaces/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [Any verbose and tedious solution is error-prone because programmers get bored.](https://sms4smile.com/quotes/bjarne-stroustrup/any-verbose-and-tedious-solution-is-error-prone-because-programmers/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [“There are only two kinds of languages: the ones people complain about and the ones nobody uses.”](https://sms4smile.com/quotes/bjarne-stroustrup/there-are-only-two-kinds-of-languages-the-ones-people-complain-about/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [Nobody should call themselves a professional if they only knew one language.](https://sms4smile.com/quotes/bjarne-stroustrup/nobody-should-call-themselves-a-professional-if-they-only-knew-one/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [It's easy to win forgiveness for being wrong; being right is what gets you into real trouble.](https://sms4smile.com/quotes/bjarne-stroustrup/it-s-easy-to-win-forgiveness-for-being-wrong-being-right-is-what-gets/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [Some software is actually pretty good, by any standard. Think of the Mars Rovers, Google, and the Human Genome Project. Now, that's quality software!](https://sms4smile.com/quotes/bjarne-stroustrup/some-software-is-actually-pretty-good-by-any-standard-think-of-the/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg.](https://sms4smile.com/quotes/bjarne-stroustrup/c-makes-it-easy-to-shoot-yourself-in-the-foot-c-makes-it-harder-but/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [I assume that a sufficiently skilled will be able to do anything not explicitly forbidden by the hardware.](https://sms4smile.com/quotes/bjarne-stroustrup/i-assume-that-a-sufficiently-skilled-will-be-able-to-do-anything-not/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [I like doing research that has an impact. If I went to a company to make what they call 'real money,' I'd be just…](https://sms4smile.com/quotes/bjarne-stroustrup/i-like-doing-research-that-has-an-impact-if-i-went-to-a-company-to/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [I would encourage nonproprietary standards for tools and libraries](https://sms4smile.com/quotes/bjarne-stroustrup/i-would-encourage-nonproprietary-standards-for-tools-and-libraries/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [This evolution may compromise Java's claim of being simpler than C++, but my guess is that the effort will make Java a better language…](https://sms4smile.com/quotes/bjarne-stroustrup/this-evolution-may-compromise-java-s-claim-of-being-simpler-than-c/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [Clearly, I reject the view that there is one way that is right for everyone and for every problem](https://sms4smile.com/quotes/bjarne-stroustrup/clearly-i-reject-the-view-that-there-is-one-way-that-is-right-for/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [There is no one "root of all evil" in software development. Design is hard in many ways. People tend to underestimate the intellectual and…](https://sms4smile.com/quotes/bjarne-stroustrup/there-is-no-one-root-of-all-evil-in-software-development-design-is/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [However, when Java is promoted as the sole programming language, its flaws and limitations become serious.](https://sms4smile.com/quotes/bjarne-stroustrup/however-when-java-is-promoted-as-the-sole-programming-language-its/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

> [C++ is designed to allow you to express ideas, but if you don't have ideas or don't have any clue about how to express…](https://sms4smile.com/quotes/bjarne-stroustrup/c-is-designed-to-allow-you-to-express-ideas-but-if-you-don-t-have/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

[Explore all 58 Bjarne Stroustrup quotes ](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

## More Garbage quotes

> [I'd take garbage, and I'd glue them together and create inventions.](https://sms4smile.com/quotes/ann-makosinski/i-d-take-garbage-and-i-d-glue-them-together-and-create-inventions/)

[Ann Makosinski](https://sms4smile.com/quotes/author/ann-makosinski/)

> [Capitalism, communism ... it's all garbage.](https://sms4smile.com/quotes/mstislav-rostropovich/capitalism-communism-it-s-all-garbage/)

[Mstislav Rostropovich](https://sms4smile.com/quotes/author/mstislav-rostropovich/)

> [If you listen to the radio for a whole hour there's maybe one decent song. The rest is mass-produced garbage](https://sms4smile.com/quotes/haruki-murakami/if-you-listen-to-the-radio-for-a-whole-hour-there-s-maybe-one-decent/)

[Haruki Murakami](https://sms4smile.com/quotes/author/haruki-murakami/)

> [I take apart restaurant menus everywhere I go. I kind of tick off a lot of chefs in restaurants because I'll say, 'You can…](https://sms4smile.com/quotes/montel-williams/i-take-apart-restaurant-menus-everywhere-i-go-i-kind-of-tick-off-a/)

[Montel Williams](https://sms4smile.com/quotes/author/montel-williams/)

> [Guns cause crime like flies cause garbage!](https://sms4smile.com/quotes/l-neil-smith/guns-cause-crime-like-flies-cause-garbage/)

[L. Neil Smith](https://sms4smile.com/quotes/author/l-neil-smith/)

> [I will be known forever as the Puppy who chased a cutpurse and caught fish garbage instead. My descendants will pretend I'm not in…](https://sms4smile.com/quotes/tamora-pierce/i-will-be-known-forever-as-the-puppy-who-chased-a-cutpurse-and-caught/)

[Tamora Pierce](https://sms4smile.com/quotes/author/tamora-pierce/)

> [Many musicals you can take and throw in the garbage can because no one took the time to write a song you can care…](https://sms4smile.com/quotes/dennis-deyoung/many-musicals-you-can-take-and-throw-in-the-garbage-can-because-no/)

[Dennis DeYoung](https://sms4smile.com/quotes/author/dennis-deyoung/)

> [Currently, it was leading him through a neighborhood that was on the downside of whatever curve you hoped you'd bought your property on the…](https://sms4smile.com/quotes/terry-pratchett/currently-it-was-leading-him-through-a-neighborhood-that-was-on-the/)

[Terry Pratchett](https://sms4smile.com/quotes/author/terry-pratchett/)

> [“Sarah Cynthia Sylvia Stout Would not take the garbage out! She'd scour the pots and scrape the pans, Candy the yams and spice the…](https://sms4smile.com/quotes/shel-silverstein/sarah-cynthia-sylvia-stout-would-not-take-the-garbage-out-she-d-scour/)

[Shel Silverstein](https://sms4smile.com/quotes/author/shel-silverstein/)

> [Seasides so beautiful! Look at the garbage!](https://sms4smile.com/quotes/pauly-d/seasides-so-beautiful-look-at-the-garbage/)

[Pauly D](https://sms4smile.com/quotes/author/pauly-d/)

> [Our bodies are garbage heaps: we collect experience, and from the decomposition of the thrown-out eggshells, spinach leaves, coffee grinds, and old steak bones…](https://sms4smile.com/quotes/natalie-goldberg/our-bodies-are-garbage-heaps-we-collect-experience-and-from-the/)

[Natalie Goldberg](https://sms4smile.com/quotes/author/natalie-goldberg/)

> [I don't know if it's fair to say that it's a bad time for movies. It seems to me that throughout the entire history…](https://sms4smile.com/quotes/william-h-macy/i-don-t-know-if-it-s-fair-to-say-that-it-s-a-bad-time-for-movies-it/)

[William H. Macy](https://sms4smile.com/quotes/author/william-h-macy/)

> [I would love to say there was some contemporary artist who's work really got me thinking, but lately I have just been trying to…](https://sms4smile.com/quotes/cory-arcangel/i-would-love-to-say-there-was-some-contemporary-artist-who-s-work/)

[Cory Arcangel](https://sms4smile.com/quotes/author/cory-arcangel/)

> [I hope we're not just human garbage drifting toward a big sewer. But I think so.](https://sms4smile.com/quotes/george-carlin/i-hope-we-re-not-just-human-garbage-drifting-toward-a-big-sewer-but-i/)

[George Carlin](https://sms4smile.com/quotes/author/george-carlin/)

> [“My memory, sir, is like a garbage disposal.”](https://sms4smile.com/quotes/jorge-luis-borges/my-memory-sir-is-like-a-garbage-disposal/)

[Jorge Luis Borges](https://sms4smile.com/quotes/author/jorge-luis-borges/)

[Browse all 613 Garbage quotes ](https://sms4smile.com/quotes/about/garbage/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "C++ is my favorite garbage collected language because it generates so little garbage",
            "creator": {
                "@type": "Person",
                "name": "Bjarne Stroustrup"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/bjarne-stroustrup/c-is-my-favorite-garbage-collected-language-because-it-generates-so/",
            "about": {
                "@type": "Thing",
                "name": "Garbage"
            },
            "@id": "https://sms4smile.com/quotes/bjarne-stroustrup/c-is-my-favorite-garbage-collected-language-because-it-generates-so/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/245/bjarne-stroustrup-11774_garbage_c-is-my-favorite-garbage-collected-langu_2433902.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/245/bjarne-stroustrup-11774_garbage_c-is-my-favorite-garbage-collected-langu_2433902.jpg",
                "url": "https://sms4smile.com/quotes/i/245/bjarne-stroustrup-11774_garbage_c-is-my-favorite-garbage-collected-langu_2433902.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“C++ is my favorite garbage collected language because it generates so little garbage” — Bjarne Stroustrup",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Bjarne Stroustrup",
                    "item": "https://sms4smile.com/quotes/author/bjarne-stroustrup/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "C++ is my favorite garbage collected...",
                    "item": "https://sms4smile.com/quotes/bjarne-stroustrup/c-is-my-favorite-garbage-collected-language-because-it-generates-so/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/bjarne-stroustrup/c-is-my-favorite-garbage-collected-language-because-it-generates-so/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
