
#109 How Is Memory Managed by Programmers?
Kopec Explains Software
00:00
Java and Reference Counting
The dominant paradigm in C++ programming is manual memory management using the new and delete keywords. Java came about as kind of a C++++ with a built-in garbage collector. The idea with reference counting is each object has what's called a reference count. When we want to increase the count, we generally call that a retain call. And when we want to decrease the count, We usually call that a release call.
Transcript
Play full episode