본문 바로가기

Study About Computing/Stub6

메모리 구조 프로그램은 실행되면 메모리(작업공간)에 올려져서 프로세스가 됩니다. C언어는 이 때 프로그램에게 5가지 구간으로 나누어 메모리 공간을 활용하도록 합니다. 각각 공간은 코드, 데이터, BSS(Block Started with Symbol), 힙(Heap), 스택으로 구분됩니다. 코드 영역 Code Area 프로그램의 로직이 저장됩니다. CPU는 이 코드 영역에 저장된 명령어를 순차적으로 실행합니다. 데이터 영역 Data Area 전역(Global) 변수와 정적(Static) 변수가 저장되는 곳입니다. 프로그램의 종료와 함께 해제되는 변수들이 이 영역에 저장됩니다. BSS, Block Started with Symbol 전역 변수와 정적 변수 중 할당되지 않거나, Null(또는 0)로 할당된 변수가 저장되는.. 2022. 6. 20.
왜 생명체는 망각을 하는가? 보호되어 있는 글 입니다. 2022. 4. 10.
오픈소스 정의_The OpenSource Definition The Open Source Definition | Open Source Initiative For over 20 years the Open Source Initiative (OSI) has worked to raise awareness and adoption of open source software, and build bridges between open source communities of practice. As a global non-profit, the OSI champions software freedom in society thro opensource.org 위 링크는 원문입니다 == 한글로 번역하기에 어색한 문장들은 의역이 포함되어 있습니다. == 오픈소스는 단순히 소스코드에 자유롭게 접.. 2022. 3. 19.
Oracle JDK와 Open JDK의 차이 https://stackoverflow.com/questions/47236543/what-is-the-reason-to-use-openjdk What is the reason to use OpenJDK? I somehow understand the differences between Oracle JDK and Open JDK. But I can't find reasons to use Open JDK. Because Oracle JDK already has everything one would need and sometimes faster than Op... stackoverflow.com 질문. Open JDK를 사용하는 이유가 뭔가요? Oracle JDK와 Open JDK의 차이는 대강 이해가 갑니다... 2021. 9. 14.
Docker Tomcat Pulling docker image docker pull tomcat:8 :: docker pull tomcat:latest Run image docker run -d -rm --name userTomcat -p 8080:8080 tomcat:8 :: -d : detach :: -rm : remove when exit. :: -p : port setting. (host:container) / docker system has NAT environment. Connect container docker exec -it mytomcat /bin/bash Fix 404 error issue. mv webapps webapps2 mv webapps.dist/ webapps exit :: when working p.. 2021. 9. 3.