.

Monday, March 18, 2019

Compilers :: essays research papers

Size of resulting program generated (involving beat and ROM) and case studiesA factor by which compiling programs for programming languages can be compared is the size of the resulting program generated. Clearly, a smaller code size is desired since it is more(prenominal) memory-efficient, uses fewer computer resources and allows the computer to support and run more programs at once. For instance, a program required a minimum of 49 bytes of random access memory(RAM) and 580 words of read-only memory(ROM) when compiled by the C compiling program CSS-C V3.000, precisely required an average RAM of 65 bytes and ROM of 722 words when compiled by HI-TECH PICC V7.86, according to tests run by the CSS developers. Clearly, CSS-C V3.000 is a better compiler in this case Studies have also shown that the V.8.0c of the Microsoft compiler produces smaller and meteoric code than the CAD-UL Compiler and the V.5.0 of the Paradigm C/C++ Compiler . Of the three, the Microsoft compiler also has the best optimiser for 186, which may be another factor of comparison for compilers of programming languages.User friendliness of compiler and case studiesThe user-friendliness of a compiler is another factor by which compilers for programming languages may be compared. User-friendliness is all-important(prenominal) since compilers which are more user-friendly generally result in greater productivity as the programmer is likely to feel more comfortable, and and so be more efficient, using the compiler. For instance, the above HI-TECH C compiler stresses full ANSI compliance and forces the programmer to develop an intimate knowledge of the hardware. The CSS compiler, on the other hand, insulates the programmer from the hardware and has a generous library of useable routines. Clearly the latter is more user-friendly and thus desirable. Diversity of support platforms and case studiesAnother factor of comparison would be the diversity of platforms support by the compiler. Compilers which support a greater variety of platforms may be favoured because they are more versatile. For instance, IARs C compiler supports only Windows and DOS, but Imagecrafts C compiler supports Windows, DOS and Linux, giving the programmer more flexibility in compiling operations.

No comments:

Post a Comment