IT
스택과 힙은 무엇이고 어디에 있습니까?
질문프로그래밍 언어 책은이 두 가지 가이 두 가지가 무엇인지 설명하지 않고도 가치 유형이 스택에 작성되고 참조 유형이 힙에 생성된다는 것을 설명합니다.나는 이것에 대한 명확한 설명을 읽지 못했습니다.나는 스택이 무엇인지 이해합니다.하지만, Where and what are they (physically in a real computer's memory)? To what extent are they controlled by the OS or language run-time? What is their scope? What determines the size of each of them? What makes one faster? 답변 스택은 실행 스레드를위한 스크래치 공간으로 제외 된 메모리입니다.함수가 호출..
2022. 3. 23. 10:38
최근댓글