728x90
1. Compiled Languages
Example : C, C++, Swift, Go
Compiled on OS directly. => They needed to be compiled to transform the source code to Machine code that CPU can execute. After the compilation, we need to build compiled file like EXE type to execute the source code.
- Good Point : Very fast -> They are good to deal with the data
- Bad Point : They need different compiler by each OS (Swift is compiled on) So for editing the source code and release the program, it can be worse than interpreted languages.
2. Compile on VM
Example: Java, C#
Compiled on VM(Virtual Machine) environment (JVM. CLR)
- Good Point :They can be run in every OS. So they have good productivity and portability
- Bad Point : Need to install specitifc VM (Virtual Machine)
3. Interpreted Languages
Example : Python, Javascript
Just in time compilation. Interpreter processes the code.
* Good Point : No need to compile. Process of building program and executing is shorter than compiled languages.
* Bad Point : Slow -> To recover this problem , they take the python to write and use the library made of C++
ex tensorflow
728x90
'Programming Languages > C와 C++' 카테고리의 다른 글
[C++] 정렬 알고리즘 - 선택 정렬/삽입 정렬/버블정렬 (1) | 2022.10.11 |
---|---|
[C언어] 값에 의한 호출 vs 참조에 의한 호출 (0) | 2021.12.17 |
C언어 문자열 처리를 위한 포인터 char* 과 배열 char[] 비교 (0) | 2021.12.14 |
C언어 enum (열거형) (0) | 2021.12.14 |
C언어 공용체 (0) | 2021.12.14 |