Language and Efficiency

Introduction to Language and Efficiency

The need  for efficiency  has guided language  design since the early days of  computing  many of the  languages have  had efficiency as a main design goal either internally or externally. For example  FORTRAN originally was designed for  a specific machine  the  IBM 704. The architecture of the  IBM704 was the  cause  for many restrictions of original FORTRAN, such as the number of array dimensions or the form of expressions used as  array indices. Some important issues related to the efficiency are: 

1. Efficiency Measurement : Efficiency is no  longer  measured only by  the   execution  speed and  space. The effort  required to produce a program or system initially and the effort required in maintenance can also  be viewed as components  of the efficiency  measure.

1. Efficiency as a Combined Quality: Efficiency is often a combined quality of both  the language and  its implementation. The language adversely affects efficiency if it disallows certain optimizations  to be applied by the compilers. So in this  case we  can  give a relationship between the languages and efficiency as:

Language 1/ efficiency (less optimization to be applied in respect by compiler)

The  implementation adversely affects efficiency if it  does not take3  all opportunities  into account in order to  save space and improve speed. So the relation between implementation and  efficiency will be  shown as:

Implementation 1/ efficiency (if less space and low speed)

To understand the given  concepts we consider the following  example,

Example 26. In general a statement like:

A= fun (b) + C1+ fun(b):

It cannot be optimized as:

A= 2* fun (b) +C1:

Which would  presumably be  more efficient since it would call the  function fun just  once. The language feature that allows functions to modify global variable ( like C 1 in the example ) disallows such optimization.

Example 27. As another example the language can affect implementation efficiency by allowing multi threaded concurrent computations. An implementation adversely affects efficiency, if it doesn't memory space after it is released by  the program.

The table6.2, shows a brief scenario for the major qualitites of a programming language and their brief description also.

Latest technology based Software Engineering Online Tutoring Assistance

Tutors, at the www.tutorsglobe.com, take pledge to provide full satisfaction and assurance in Language and Efficiency homework help via online tutoring. Students are getting 100% satisfaction by online tutors across the globe. Here you can get homework help for Language and Efficiency, project ideas and tutorials. We provide email based Language and Efficiency homework help. You can join us to ask queries 24x7 with live, experienced and qualified online tutors specialized in Language and Efficiency. Through Online Tutoring, you would be able to complete your homework or assignments at your home. Tutors at the TutorsGlobe are committed to provide the best quality online tutoring assistance for Software Engineering homework help and assignment help services. They use their experience, as they have solved thousands of the software engineering assignments, which may help you to solve your complex issues of Language and Efficiency. TutorsGlobe assure for the best quality compliance to your homework. Compromise with quality is not in our dictionary. If we feel that we are not able to provide the homework help as per the deadline or given instruction by the student, we refund the money of the student without any delay.

©TutorsGlobe All rights reserved 2022-2023.