On 13/12/24 05:56, Van Snyder wrote:

Because finding and fixing memory leaks is *really difficult*.  And not
much fun.  And doesn't let you put fancy new blurbs on your "what's new"
page.

Some languages have dynamic-memory facilities that inherently do not leak, unless you are intentionally careless. But C and C++ are not in that set.

C++ has a methodology called Resource Management. It's not at all difficult to do and means you will not get resource leaks (memory usually)

Using the Resource Management methodology means major software applications can be written in C++ to be fast and reliable - unlike the unmitigated crap that is java and dot net that are neither fast, nor reliable, nor write-once run anywhere.

This is why just about every browser is written in C++ and not in java or dot net.

AI application similarly are written as C++/C core libraries with an optional veneer of python for those who are so inclined.

Reply via email to