Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ alternative

Name: Anonymous 2011-04-09 11:01

If "Sepples" sucks so bad as you think, what alternatives are there?
(except garbage collected toy languages)

Name: Anonymous 2011-04-10 1:35

C and C++ are NOT garbage collected languages, not out of the box anyway. The standards merely allow for compiler/library implementors to support a garbage collected memory model through third-party defined interfaces. No C/C++ compiler that I am aware of have explicit support for garbage collection out-of-the-box. You can download and use third party garbage collection frameworks like ( http://en.wikipedia.org/wiki/Boehm_garbage_collector ) that override new/delete operators and have their own malloc/free implementations, but it's not something that GCC, MSVC++, Intel C++, Clang, etc. support as a compiler switch, it's just a library you link to.

I'm tired of the people on this board claiming that C/C++ are garbage collected. They aren't really, it's just that the memory model is so broad that it's possible to implement a GC environment inside of it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List