Programming Languages - Computer Science
Programming Languages
¡ª An Overview ¡ª
COMP 524: Programming Language Concepts
Bj?rn B. Brandenburg
The University of North Carolina at Chapel Hill
Based in part on slides and notes by S. Olivier, A. Block, N. Fisher, F. Hernandez-Campos, and D. Stotts.
Tuesday, January 12, 2010
COMP 524: Programming Language Concepts
02: Programming Languages
A Brief History of Modern Computing
Early computers required rewiring.
? For example, ENIAC (Electronic Numerical
Integrator and Computer, 1946)
programed with patch cords.
? Reprogramming took weeks.
? Used to compute artillery tables.
Von Neumann: stored program computers.
? Innovation: program is data.
? Program stored in core memory.
? Allowed for ¡°rapid¡± reprogramming.
Early programming.
? Programmers wrote bare machine code.
? Essentially, strings of zeros and ones.
? Created with punchcards.
UNC Chapel Hill
Tuesday, January 12, 2010
Brandenburg ¡ª Spring 2010
Magnetic core memory. Each core is one bit.
Source: Wikimedia Commons
Credit: H.J. Sommer III, Professor of Mechanical
Engineering, Penn State University
2
COMP 524: Programming Language Concepts
02: Programming Languages
Machine Code
A punch card.
Source: Wikimedia Commons
Limitations.
? Hard for humans to read and write.
? Very error-prone.
? Slow development.
UNC Chapel Hill
Tuesday, January 12, 2010
Brandenburg ¡ª Spring 2010
3
COMP 524: Programming Language Concepts
02: Programming Languages
Assembly Code
Idea: use the computer to simplify
programming!
? Possible since programs are data.
? Computer transforms humanreadable input into machine code.
First step: direct mapping.
? Use mnemonic abbreviations for
instructions.
? One abbreviations for each
instruction.
?
Also encode operands.
? Computer
assembles real
program by mapping each line
to its machine code equivalent,
thus creating a new program.
? Assemblers are still in use today.
UNC Chapel Hill
Tuesday, January 12, 2010
Brandenburg ¡ª Spring 2010
4
COMP 524: Programming Language Concepts
02: Programming Languages
Assembly Code
Machine Code
Instructions
Operands
Idea: use the computer toExample:
simplify
Intel x86-32 machine code and
programming!
language of javac program.
? Possible sinceassembly
programs
are data.
? Computer transforms humanreadable input into machine code.
First step: direct mapping.
? Use mnemonic abbreviations for
instructions.
? One abbreviations for each
instruction.
?
Also encode operands.
? Computer
assembles real
program by mapping each line
to its machine code equivalent,
thus creating a new program.
? Assemblers are still in use today.
UNC Chapel Hill
Tuesday, January 12, 2010
Brandenburg ¡ª Spring 2010
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- history of programming languages
- programming languages computer science
- chapter 1 history of computers ftms college
- the next 700 programming languages
- programming computer science department at princeton
- chapter 2 programming languages
- chapter introduction to computers and programming
- languages and copyright a brief history and proposal for
- a short history of computing harding university
- lecture 03 bits bytes and data types
Related searches
- programming languages and their uses
- top programming languages 2019
- scientific programming languages ranking
- computer programming languages pdf
- history of programming languages timeline
- history of programming languages book
- programming languages history pdf
- all programming languages pdf books
- programming languages trends
- programming languages trend 2020
- most used programming languages 2019
- top programming languages tiobe