Want this question answered?
The size of an integer is compiler-dependant. The compiler itself is machine-dependant so it could be argued they are in fact machine-dependent, however we don't write code to suit the machine, we write code to suit the compiler, even when the code is machine-dependent.
Quite simply, a 16-bit compiler is a compiler for a 16-bit machine.
FORTRAN (FORmula TRANslator) is the best-known earliest example of machine independent language. This is where the language is not dependent on the characteristics of the computer. COBAL (COmmon Business-Orientated Language) is the other type of programming language that is machine independent. COBAL was developed by the US Navy for business applications.
A load and go compiler generates machine code and then immediately executes it.
No. (Of course you should specify what compiler you are talking about.)
1. Target code generation 2. Machine Specific code improvement
The size of an integer is compiler-dependant. The compiler itself is machine-dependant so it could be argued they are in fact machine-dependent, however we don't write code to suit the machine, we write code to suit the compiler, even when the code is machine-dependent.
Quite simply, a 16-bit compiler is a compiler for a 16-bit machine.
The compiler translates source code into machine code. As opposed to java, this is a machine specific operation.
Yes, it's. The only exception I can think of is Itanium. But even that case compiler can be configured in a way that you do need to worry about that.
Single pass: Adv: More efficient than multi pass compilers in the compiler phase. Smaller compilers than multi pass Dis: Produces less efficient programs. Multi pass: adv: Can be useful when optimizing code. more machine independent Java like variable declaration - it doesn't need to be before the use of it, because Java require multi pass compilers. Dis: Slower at compile time
A load and go compiler generates machine code and then immediately executes it.
FORTRAN (FORmula TRANslator) is the best-known earliest example of machine independent language. This is where the language is not dependent on the characteristics of the computer. COBAL (COmmon Business-Orientated Language) is the other type of programming language that is machine independent. COBAL was developed by the US Navy for business applications.
compiler
compiler used to convert high level language coad into machine level language
No. (Of course you should specify what compiler you are talking about.)
A compiler or interpreter converts high-level programming languages into machine code that can be understood and executed by the computer's hardware.