Aug 29, 2023·edited Aug 29, 2023Liked by Abhinav Upadhyay
Thank you for this amazing article. Although it was a bit beyond my scope to understand CPython's internal code, it was still an amazing read about reference counting. I am looking forward to an article about the Garbage Collector.
> 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.
Thank you for this amazing article. Although it was a bit beyond my scope to understand CPython's internal code, it was still an amazing read about reference counting. I am looking forward to an article about the Garbage Collector.
I’m definitely looking forward to the GC companion to this article...
> 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.
This is great, please write more! )