Skip to content

Commit 4cd4945

Browse files
Some UNIX history.
1 parent fb86892 commit 4cd4945

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

book/languages/c/history.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
11
# History
2+
3+
Back in the day C was closely tied to the UNIX operating system, originally implemented in assembly language on a PDP-7 by Dennis
4+
Ritchie and Ken Thompson, incorporating several ideas from colleagues. Eventually, they decided to port the operating system to a
5+
PDP-11. The original PDP-11 version of Unix was developed in assembly language. Thompson needed a programming language for UNIX
6+
utilities. At first, he tried to make a Fortran compiler, but soon gave up the idea and made a new language B language, Thompson's
7+
simplified version of BCPL. However, small amount of utilities were made using B, because of it's unsatisfying efficency. Also, B
8+
could not take advantage of some of the PDP-11's features such as byte addressability.
9+
10+
In 1972, Ritchie started to improve B, which resulted in creating a new language - C. C compiler and some utilities made were later
11+
included in Unix. At Version 4 Unix (1973), the kernel was extensively re-implemented in C. By this time, the C language had
12+
acquired some powerful features.
13+
14+
Unix was one of the first operating system kernels implemented in a language other than assembly. In around 1977, Ritchie and
15+
Stephen C. Johnson made further changes to the language to facilitate portability of the Unix operating system. Johnson's Portable
16+
C Compiler served as the basis for several implementations of C on new platforms.

0 commit comments

Comments
 (0)