Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Implementation Methods - Programming Languages - Lecture Slides, Slides of Programming Languages

Implementation Methods, Compilation, Pure interpretation, Hybrid implementation systems, Issues and tradeoffs, Electronic Numerical Integrator and Calculator, Competing criterion are key points of this lecture. Programming languages is basic subject of computer science. Its not about any specific language but almost cover all of them.

Typology: Slides

2011/2012

Uploaded on 11/10/2012

omni
omni 🇮🇳

4.6

(9)

46 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Reliability
Aliasing
Writability
Docsity.com
pf3
pf4
pf5
pf8

Partial preview of the text

Download Implementation Methods - Programming Languages - Lecture Slides and more Slides Programming Languages in PDF only on Docsity!

Reliability

  • Aliasing
  • Writability

Cost

  • Training
  • Cost of writing programs in the language – productivity
  • Programming environment
  • Compiling
  • Execution
  • optimization versus compilation speed
  • Cost of language implementation
  • Cost of poor reliability
  • Maintenance – a function of readability

Implementation Methods

  • Compilation
  • Pure interpretation
  • Hybrid implementation systems

Issues and trade-offs

  • Competing criterion
    • execution versus safety
    • readability versus writability
      • a += b;
      • a = a + b;
      • ( a > b )? a = c: a = d ;
      • if ( a > b) a = c; else a = d;
    • execution versus compilation
  • How to assign weights to different criterion?

ENIAC

(Electronic Numerical Integrator and Calculator)

  • Eventually, physical motion was replaced by electrical signals when the US Government built the ENIAC in 1942.
  • It followed many of the same principles of Babbage's engine and hence, could only be "programmed" by presetting switches and rewiring the entire system for each new "program" or calculation.
  • This process proved to be very tedious.

Von Neumann Architecture - 1945

  • "Where a calculator on the ENIAC is equipped with 18 000 vacuum tubes and weighs 30 tons, computers of the future may have only 1 000 vacuum tubes and perhaps weigh 1½ tons." — Popular Mechanics, March 1949.