(a) Alice and Bob are writing a new compiler for Java. They have an argument about the correct behaviour of a feature of
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
(a) Alice and Bob are writing a new compiler for Java. They have an argument about the correct behaviour of a feature of
(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)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!