12 Comments
User's avatar
⭠ Return to thread
Jimmy Yang's avatar

> In the case of CPython, it employs two techniques for managing memory: reference counting and garbage collection.

I'd say that CPython's primary method for memory management is through manual 'malloc' and 'alloc' functions. Its secondary method is garbage collection. Reference counting is only useful for garbage collection.