Popular Programming Languages
There is hundred of programming language, but only dozen are popular. Popular mean that language :
- used in so many today software
- used by many people
- have active community
- have significant job market
The example of popular programming language :
- C
- C++
- C#
- Java
- Javascript
- Perl
- PHP
- Python
- Objective-C
- Ruby
- Visual Basic
Machine Code
If you new, maybe you will ask "why so many? why not just one computer language?" The truth is, there are only one computer language, its called machine language. Computer actually only really understand this language. But why we dont just write machine code? because its nearly impossible to do.
Example of machine code :
As you can see, the code look really confusing. Machine language is numerical operation, tiny instructions that work in smallest pieces of memory inside your computer. Even if you can write, its unreadable to others.
Machine language working at the level CPU (Central Processing Unit), it will be different machine code in different model of CPU. That's why we use programming language. These invented language is used as a bridge for gap between user and computer hardware.
Low and High Level Programming Languages
Some of these language actually really close to machine code, the closest one called assembly language. The closer language is to machine code, the more it harder to write, and more you have to know about the hardware, that what is called low level languages. The opposite called high level languages. These languages is easier to wrote and can shared across different platform, but it can be slower because not optimized directly into cpu level.
But remember, whatever we wrote has to converted down into machine code before it can run.
High-Level Languange | Low-Level Language |
---|---|
Easy to learn | Difficult to learn |
Translator is required | No translator is required |
Programs are slow in execution | Program are fast in execution |
Programs are easy to modify | Programs are difficult to modify |