Re: OT:C/C++ Opinion Poll



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

I think you meant, "a language with pointers that can be diddled can't
have garbage collection". For instance, Ada has pointers (called access
types), and many Ada implementations have supported garbage collection.

Even when the pointers can be diddled (e.g., C, C++), it's still
possible to the Boehm-Demers-Weiser conservative garbage collector or
equivalent.
.



Relevant Pages

  • Re: Why isnt multiple inheritance very useful?
    ... it was a natural design decision for Smalltalk language based ... As for garbage collection, it is not easy to just say a few things ... and those running on VM do not have pointers? ...
    (comp.lang.cpp)
  • Re: [Lit.] Buffer overruns
    ... >> Huh? ... Using a system with garbage collection, ... In a language that supports garbage collection, ... handling of pointers, you can't do integer operations on ...
    (sci.crypt)
  • Troubleshooting garbage collection issues
    ... we get into a situation where the garbage collection ... The infinite loop itself occurs in gcmodule.c, ... pointer to the first generation head node. ... seen something like this before and has either pointers to specific GC ...
    (comp.lang.python)
  • Re: C++ sucks for games
    ... >>numbers indicating that garbage collection was over 15 times slower than ... >>change the fact that they are conceptually smart pointers. ... Ã la the worst of the older programming languages ... >>may not copy that string, we can't be sure without more knowledge of the ...
    (comp.lang.lisp)
  • Re: Troubleshooting garbage collection issues
    ... we get into a situation where the garbage collection ... The infinite loop itself occurs in gcmodule.c, ... pointer to the first generation head node. ... seen something like this before and has either pointers to specific GC ...
    (comp.lang.python)