Wednesday, January 1, 2014

What is a Compiler

A compiler is a computer program which transforms source code written in a programming language to another computer language. Usually compilers transforms source code of a high level programming language to a low level programming language. 

Transpiler
Type of compiler that takes source code of a programming language and converts into another language.

Following images shows steps happening in the compilation process

image credit: nocookie.net

Interpreter

Directly executes source code without firstly compiling into a machine language program.

Name Binding

Association of  entities with identifiers. Binding is connected is scope, as scope determines which names bind to which objects. 

Early/Static Binding
Method is bound at compile time. If a suitable method does not exist, an error will occur. 

Late/Dynamic/Virtual Binding
Binding happens at run time.

Dynamic dispatch is process of selecting which implementation of a polymorphic operation (method or function) to call at run time.

Resources


0 comments:

Post a Comment

Powered by Blogger.


Software Architect at Surge Global/ Certified Scrum Master

Experienced in Product Design, Software Engineering, Team management and Practicing Agile methodologies.

Search This Blog

Facebook