Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Sam Prachi

Sam Prachi

Community Learner
Active in: Java
Share
1Questions
1Answers
557Views on questions

Why is there no garbage collection in c++

Garbage collection requires data structures for tracking allocations and/or reference counting. These create overhead in memory, performance, and the complexity of the language. C++ is designed to be "close to the metal", in other words, it takes the higher performance side of the tradeoff vs convenience features.…

Java

Answered Oct 14, 2022 · 557 Views Read answer →

More members from the Java community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.