Skip to main content

History of C programming language

C (pronounced like the letter C) is a general-purpose computer programming language developed C (pronounced like the letter C) is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system. C was designed for implementing system software, but it became so popular that its widely used for developing portable application software.

C came from Thompson's B language. The main intention of C language was to make more readable programming language than the assembly language, which was used for system programming, low level access to CPU/Sytem registers and all.

C was the language which evolved to be the most popular langage of all time. It can be used for making system level, low level programming, high level programming, application programming, creating compilers etc

The initial development of C occurred at AT&T Bell Labs between 1969 and 1973 according to Ritchie, the best creative period occurred in 1972. It was named "C" because its features were derived from an earlier language called "B", which according to Ken Thompson was a stripped-down version of the BCPL programming language.

The foundation of C is closely tied to the development of the Unix operating system, originally implemented in assembly language on a PDP-7 by Ritchie and Thompson, incorporating several ideas from colleagues. Eventually they chose to port the operating system to a PDP-11. B's inability to take advantage of some of the PDP-11's features, notably byte addressability, led to the development of an early version of C.

The original PDP-11 version of the Unix system was developed in assembly language. By 1973, with the addition of struct types, the C language became powerful enough that a majority of of the Unix kernel was rewritten in C. This was one of the first operating system kernels implemented in a language other than assembly. (Earlier instances include the Multics system (written in PL/I), and MCP (Master Control Program) for the Burroughs B5000 written in ALGOL in 1961.)

Comments

Popular posts from this blog

printing enum as string

While coding C programming, there will be scenarios where you want to print the enum values as string while debugging. There are methods where you can define separate function which will return the string of definition, but the issue with that is , when you edit code, if we add a new enum value and forgot to add in the string conversion function/array, it will be give lot of problems and spend time on debugging After googling, i found on solution which has only one definition, I edited it to suit my requirements. Please check the code below #include<stdio.h> #define FOREACH_WEEKDAYS(WEEKDAYS) \             WEEKDAYS(SUNDAY)   \             WEEKDAYS(MONDAY)  \             WEEKDAYS(TUESDAY)   \             WEEKDAYS(WEDNESDAY)  \             WEEKDAYS(THURSDAY)  \         ...