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.
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.