Quick note on computers and programming languages
— 1 min read
Hello, this is just something I found interesting on one of my CP courses.
Four types of computers are:
PC's or personal computer. This type of computer is for the everyday use by a common person. It can be a desktop or a laptop that can handle simple and sometimes complex processing.
Servers: These computers are typically used by many people, most of the time remotely. They are designed to run large programs such as database and web servers. They can be big or small like a P.C depending on its need.
Supercomputers: These computers are equipped with the highest performance parts available and are typically in the millions of dollars. They are set-up as servers but they are tasked with complex mathematical computations, running simulations, and such.
Embedded Computers. These are found inside cars, televisions, and similar electronics thats purpose is to do mainly one task.
High-level, assembly level, and baniray languge.
The steps that a high-level language goes through to be readable by a computer processor are:
- The high-level C program written
- The program is then compiled into an assembly level language.
- This is now considered a low-level program
- Assembly level language is relative to the computer architecture.
- The program is then assembled into binary language that a processor can understand.
Not all languages follow this pattern, some don’t compile into an assembly level language at all and skip to binary.