| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- Class
- react
- instruction
- Java
- php
- DATAPATH
- for
- javascript
- DB
- CSS
- python
- html
- computer
- openai
- Pipelining
- DS
- Rag
- architecture
- github
- data structure
- Linux
- AI
- function
- MIPS
- XML
- control
- Algorithm
- web
- mysql
- system
- Today
- Total
목록Java (58)
YYYEJI
자바 가상 머신은 자바 프로그램 실행환경을 만들어 주는 소프트웨어입니다. Compiler와 Interpreter가 둘 다 존재합니다. Java code를 컴파일하면 byte code로 된 .class 파일이 생성됩니다. 이 byte code의 파일이 JVM에서 machine code로 변환됩니다. 순서는 ! Java compiler ↓ Byte-code program ↓ Byte-code interpreter ↓ Machine-language instructions ↓ Computer Exceution of Machine-language Instruction ◡̈
Assembler와 interpreter의 공통점은 machine code로 바꿔준다는 점입니다. 차이점을 알아봅시다. Compiler & Assembler ✓ 코드의 번역이 끝나고 수행하게 됩니다. ✓ 프로그램 실행 시간이 아닌 off-line일 때 실행됩니다. Interpreter ✓ 번역과 수행을 반복합니다. ✓ 속도가 느립니다. ✓ 프로그램 실행 도중인 on-line일 때 실행됩니다. Source code → Compiler or Assembler or interpreter → Object Code ◡̈
↓↓↓ 비교해봅시다 ↓↓↓ High-level Language Machine Laguage 자연어랑 비슷한 언어입니다. 자연어 보다는 하드웨어에 가까운 언어입니다. 문자, 숫자, 수학 기호들 0, 1 하드웨어가 바로 이해하지 못합니다. 하드웨어가 바로 이해할 수 있습니다. Portable Not portable ✓ Portable - 어떤 컴퓨터에서 같은 코드를 돌려도 실행이 되는 특성 Assembly language High level code 보다는 기계어지만, machine code 보다는 자연어입니다. Ex) add $t0, $s1, $s2 ◡̈
우선 컴퓨터를 먼저 살펴봅시다. ① Memory에서 한 instruction을 CPU로 가지고 오는데 너무 느립니다. ② Memory와 CPU 사이에 Cache memory를 넣어서 속도 증가시킵니다. ( Cache memory는 Memory 보다 작은 용량을 가지고 있습니다. ) 여기서 ! ! ! 속도는 증가하지만 병목현상으로 인해 속도 증가의 한계가 있습니다. 병목현상이란 ? ? ? 병목(bottleneck) 현상은 전체 시스템의 성능이나 용량이 하나의 구성 요소로 인해 제한을 받는 현상을 말하는데 "병목"이라는 용어는 물이 병 밖으로 빠져나갈 때 병의 몸통보다 병의 목부분의 내부 지름이 좁아서 물이 상대적으로 천천히 쏟아지는 것에 비유한 것입니다. 차로 비유하면, 교통체증이 일어난 것과 비슷한 일이..
COMPUTER and JAVA ① Computer system → hardware + software ✓ Processor (CPU) - Central Processing Unit ✓ Memory - main & auxiliary ✓ Input devices - mouse, keyboard etc. ✓ Output devices - video display, printer etc. Memory (Main & Auxiliary) ↕ Input devices → processor(CPU) → Output devices ② Hardware → the physical components(machine) ✓ Keyboard ✓ Monitor ✓ Chassis - CPU memory, disk drives, I/..
인텔리제이에서 코딩을 할 때 Copy/Paste를 하다보면 Duplicated code fragment 에러가 등장할 때가 있습니다. ↓↓↓ 이 줄을 없애고 싶다면 아래를 따라해주세요 ↓↓↓ 노란줄이 없는 깔끔한 코드를 볼 수 있습니다. ◡̈
STS4 란 ? ? ? Spring (개발)을 위한 개발도구 입니다. ↓↓↓ 아래 링크로 들어가주세요 ↓↓↓ https://spring.io/tools Spring Tools 4 is the next generation of Spring tooling Largely rebuilt from scratch, Spring Tools 4 provides world-class support for developing Spring-based enterprise applications, whether you prefer Eclipse, Visual Studio Code, or Theia IDE. spring.io ◡̈