In designing a compiler you will face many tradeoffs What ar

In designing a compiler, you will face many tradeoffs. What are the five qualities that you, as a user, consider most important in a compiler that you purchase? Does that list change when you are the compiler writer? What does your list tell you about a compiler that you would implement? Compilers are used in many different circumstances. What differences might you expect in compilers designed for the following applications? A just-in-time compiler used to translate user interface code downloaded over a network A compiler that targets the embedded processor used in a cellular telephone A compiler used in an introductory programming course at a high school A compiler used to build wind-tunnel simulations that run on a massively parallel processor (where all processors are identical) A compiler that targets numerically intensive programs to a large number of diverse machines

Solution

2)

for a good compiler the feature should be it could execute any number of lines .

focus on to manage time costs as complexity for any situation means the real time used in implementation and the space used.

a scenario or focus on the time that must be given to various task that will be assigned.

select an efficient algorithm for scanning and parsing problem. scanning is propotional to the number of character in the input given.

code generation and optimization also requires time select an algo for which these two phase should be implement quickly.   

3)

b)

the logic is using code transformation for good battery backup.some compilers like GCC, LLVM capable merge code with power consumption as a metric.

c)

this compiler is simply used to convert the high level language into machine language. any programming language compiler can be taken . eg for c language GCC compiler this compiler must be fast and accurate enough to get any errors in the code. like online compilers are a bit slow when compared to offline compilers.

d) fast , efficient and good power consumption

 In designing a compiler, you will face many tradeoffs. What are the five qualities that you, as a user, consider most important in a compiler that you purchase

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site