Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What languages use garbage collection?

collection garbage Languages
0
10 Posted

What languages use garbage collection?

0

Java, Lisp, Smalltalk, Prolog, ML,… the list goes on. It surprises many to learn that many implementations of BASIC use GC to manage character strings efficiently. C++ is sometimes characterized as the last holdout against GC, but this is not accurate. See FAQ: Can I use garbage collection in C++? for details. The notion of automatic memory management has stood the test of time and is becoming a standard part of modern programming environments. Some will say “the right tool for the right job”, rejecting automatic memory management in some cases; few today are bold enough to suggest that there is never a place for GC among tools of the modern programmer — either as part of a language or as an add-on component.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123