ARCHIVE / What is C/C++ best suited for?

The C programming language was developed as a means for system and primitive applications programming for the UNIX operating system during the early 1970s. Since it was developed back in the days when computer processors were slow and memory was limited and expensive, C is a procedural language that requires extremely minimal resources to run. C++, in turn, was developed in the mid 1980s as an extension to C to allow for writing applications using an Object-Oriented (OO) methodology, which became feasible once processors became faster and memory grew less expensive. The advantage of an OO methodology is that it allows for the compartmentalization and greater reuse of computer code, which subsequently allows for more complex software application development.

Because of their history, C and C++ are best suited for use in cases where the minimal consumption or maximal control of computer resources is essential. Examples of such cases include operating systems, most desktop software applications and real-time applications in embedded computing devices. As a general rule, applications written in C and C++ take longer to write than those written in more abstracted or specialized programming languages but take less time to run.

last updated 2007.09.24



Terms of Use · Privacy Policy ©2022