Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop p

What is a programing Language?

What is a programing language

What is a Programming Language?

In this post, I'll tell you what exactly is the programing language? Maybe you are learning one of the languages like c, c++, java, etc, or maybe going to start with one as a beginner.

A Programming Language

So programming languages provide the easiest way of writing the instructions to the machine in a language that can Machine understand and what is that simply a sequence of 0's and 1's. We can't write programs in 0's and 1's because it's too hard. So the programming language comes into the place to help us.

A programming language provides a totally different way of writing instructions to computers. In order to write a program in a specific language, you have to follow the rules of that language for example it's syntax.

Actually, you are not writing the codes to the computer, Instead, you are writing codes (also called source code) to a compiler (Translator ) which understands your codes and generates instructions or binary codes for the computer.

Now you can think, programming languages are just tools to feed instructions(a set of instructions: program) to the machine.

Now you know what exactly a Programing language!

What's a Compiler, Interpreter?

Every programming language has a compiler or interpreter which is responsible to generate binary codes by reading your source code or You can say it translates your codes into 1's and 0's.

The compiler reads all the lines from the source and converts that into binary. However, the Interpreter does a slightly different job it reads a single line at a time and converts it. After execution of the current line interpreter converts the next line. Thus all the code converted into machine code.

There are a lot of programming languages around the world, You can read more about them here these Languages has different purposes and specialities, and each language has its own advantage and disadvantage.

No comments:

Post a Comment