[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Firefox alternatives?



On Thu, 2024-12-12 at 23:15 +0100, Nicolas George wrote:
Van Snyder (12024-12-12):
Some languages have dynamic-memory facilities that inherently do not
leak, unless you are intentionally careless.

There is nothing more careless in adding an element to a hash table and
forgetting to remove it than in malloc()ing a memory area and forgetting
to free()it.

In languages that inherently do not leak (unless you are intentionally careless), you don't need to free() because that's done automatically. But C and C++ aren't among the set of such languages.


Reply to: