24.12.2012 Views

CSC322 C Programming and UNIX - Department of Computer ...

CSC322 C Programming and UNIX - Department of Computer ...

CSC322 C Programming and UNIX - Department of Computer ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

“Pragmatic” high level language:<br />

C<br />

– H<strong>and</strong>les characters, numbers, adresses as implemented by most computers<br />

– Small core language, much functionality provided by libraries (mostly in C!)<br />

– Compilers are easy to write<br />

– Compilers are easy to port<br />

– Even naive compilers produce reasonably efficent code<br />

Hacker-friendly<br />

– Straightforward compilation (nothing is hidden)<br />

– Compact source code (fewer keystrokes, fast to read)<br />

– Typed, but no bondage-<strong>and</strong>-discipline language<br />

Adequate support for building abstractions<br />

– Structures (composing objects), unions, enumerations<br />

– Arrays <strong>and</strong> pointer<br />

– Support for defining new types<br />

Stephan Schulz 10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!