lec1 - CS240: Programming in C Lecture 1: Class overview....

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Suresh Jagannathan Lecture 1/ Spring 2011 1 CS240: Programming in C Lecture 1: Class overview. 1 Saturday, January 8, 2011
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
History The world in 1969 Fortran, PL/1 and Cobol were the primary “high-level” programming languages available. Assembly language the choice for high- performance applications Operating systems A golden age Advent of paging, segmentation, virtual memory, and access-control file systems 2 Saturday, January 8, 2011
Background image of page 2
Multics An advanced operating system developed at MIT, GE and Bell Labs. Precursor to many of the ideas found in Unix process as a locus of control tree-structured file system advanced access control generalized device abstraction command interpreter Written almost entirely in PL/1 and BCPL 3 Saturday, January 8, 2011
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Target hardware environment Port to DEC PDP-7 8K 18-bit memory no useful software port written in assembler First high-level language on Unix TMG: a language for writing compilers primitive support for context-free syntax First general-purpose high-level language B: C without types interpreted ran in 8K bytes of memory 4 Saturday, January 8, 2011
Background image of page 4
Circa 1970 - 1971 Unix had developed a sizable user base B was too slow; assembler too painful string manipulation painful on byte-oriented machines no floating-point pointers were not easily manipulable a pointer was an index into an array of words Extend B with (richer) types Further additions of record types and typed arrays Unified type syntax 5 Saturday, January 8, 2011
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
By 1973 Preprocessor Integration with underlying system
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/23/2012 for the course CS 240 taught by Professor Rego during the Spring '08 term at Purdue University-West Lafayette.

Page1 / 24

lec1 - CS240: Programming in C Lecture 1: Class overview....

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online