Re: OT:C/C++ Opinion Poll



Vladimir Vassilevsky wrote:
C++ doesn't have garbage collection, unless you use a 3rd party library.

A language with pointers can't have garbage collection. C++ without pointers and with garbage collection is called Java.

The Boehm garbage collector works just fine with C++, unless you're
particularly weird, and hide pointers in files or encrypting them. It's
conservative, which mean that it won't collect every last scrap, but
it is used in some pretty hard-core applications.

Clifford Heath.
.



Relevant Pages

  • Java or C++?!!
    ... What is the difference between java and c++? ... Ok I know that C++ has pointers ... Java has garbage collection but c++ does not.I dont think that this would ...
    (alt.comp.lang.learn.c-cpp)
  • Re: The Java no pointer big fat lie!
    ... > reference types, it wouldn't be a good comparison. ... and what you can't - and there is a big difference in Java to C and C++. ... You cannot change it in the language itself, ... Thus I would distinguish pointers from ...
    (comp.lang.java.programmer)
  • Re: Interesting article by Joel Spolsky: The Perils of JavaSchools
    ... What matters is that Lisp teaches students to use ... recursion, because they have to. ... Java does NOT teach students to use ... pointers and recursion, she'll be able to understand anything, and get ...
    (comp.programming)
  • Re: Java
    ... >> seem to me to be one of the major uses of pointers. ... >As soon as I see a production OS built on java and not assembler at the ... seem like a good choice for writing an operating system. ... needs to be taught, and can't be taught using Java. ...
    (comp.programming)
  • Re: some java concepts query
    ... > I am learning Java. ... The basic idea is very similar to pointers in other ... past the declaration of the variable. ... However, if the argument in question is a reference, both copies ...
    (comp.lang.java.help)