History of C and C++ a Comprehensive Story
History of C and C++ a Comprehensive Story
1. Invention of C Language
The story of C begins in the early 1970s with Dennis Ritchie at Bell Labs (AT&T).
Ritchie developed C by improving upon the B language, which was a simplified
version of BCPL (Basic Combined Programming Language) created by Martin
Richards. B was used to write operating system code, but it lacked efficiency for
system-level programming.
C's Purpose:
In the late 1970s, Bjarne Stroustrup , a Danish computer scientist working at Bell
Labs, found limitations in C for handling complex systems that required large
codebases and data abstractions.
Stroustrup envisioned a language that could combine the efficiency of C with the
object-oriented capabilities of Simula, giving rise to what would become C++.
The goal was to enable better abstraction mechanisms while maintaining
backward compatibility with C.
- Key Motivation : Combining object-oriented programming (OOP) with C’s
speed and low-level manipulation capabilities.
3. Evolution of C++
Early Development (1979-1983)
- 1983 : The name "C++" was officially coined, inspired by C's increment
operator `++`, reflecting the language's evolution as an enhanced version of C.
C++ retained C’s syntax while adding class-based programming , constructors ,
and destructors .