C/C++은 정적 할당 stack에, 동적 할당 heap에 (내 블로그 글 참고)

Java는 모조리 heap에

Python은 어떻게 메모리를 handling할까? 한번도 생각 안해봤기에 궁금해졌다.

 

 

기초

 

"Everything is an object in Python"

https://jakevdp.github.io/WhirlwindTourOfPython/03-semantics-variables.html

 

Basic Python Semantics: Variables and Objects | A Whirlwind Tour of Python

While it might be expected for compound objects like lists to have attributes and methods, what is sometimes unexpected is that in Python even simple types have attached attributes and methods. For example, numerical types have a real and imag attribute th

jakevdp.github.io

 

 

"Python memory management" 검색

 

https://leemoney93.tistory.com/25

 

 

python 메모리 관리(memory allocation)

Everything is object in Python 이라는 말이있다. 근데 정확히 무슨말인지 이해하기가 좀 까다롭다. C언어는 메모리를 바로 까볼수 있어서 느낌이 팍팍 오는데 Python은 뭔가 애매하고 한글로된 자료가 많

leemoney93.tistory.com

 

https://www.youtube.com/watch?v=arxWaw-E8QQ 

 

+ Recent posts