Page 1 of 1

(a) Alice and Bob are writing a new compiler for Java. They have an argument about the correct behaviour of a feature of

Posted: Mon May 09, 2022 6:27 am
by answerhappygod
A Alice And Bob Are Writing A New Compiler For Java They Have An Argument About The Correct Behaviour Of A Feature Of 1
A Alice And Bob Are Writing A New Compiler For Java They Have An Argument About The Correct Behaviour Of A Feature Of 1 (15.83 KiB) Viewed 22 times
(a) Alice and Bob are writing a new compiler for Java. They have an argument about the correct behaviour of a feature of the language. How could they resolve their argument, ensuring they pick the correct behaviour? Suggest two ways. (4 marks) (6) In the context of an optimising compiler, what is optimisation? How does an optimised program differ from an unoptimised one? What metrics of a program might a compiler optimise? (6 marks)