Why is C so popular?
Eight-
Device driver programs are written in C. So if one want to extend the
operating system to work with new devices one needs to write device
driver programs.
Possibly why C seems so popular is because it is reliable, simple and easy to use.
But as many new languages emerge and vanish day in and day out, there
is something special which makes C so stable in the market. There are some of following reasons for this-
First-
In order to learn advance concepts like classes, objects,
polymorphism, inheritance ,templates, exception handling, references
etc. of C++ ,Java , C# or any other language, one has to learn basic
concepts of C before proceeding to those high level languages. After
learning the basic concepts of C , learner will be able to grasp those
advanced features easily.
Second-
Major parts of popular operating systems like Windows, UNIX, Linux are
still written in C. This is because even today when it comes to
performance ( speed of execution) nothing beats C.
Third-
C allows for easy implementation, it comes with a genuinely useful
standard library that can itself be implemented in C, and it is both
efficient and portable. C has always appealed to systems programmers
who like the terse, concise manner in which powerful expressions can be
coded.
Fourth-
Mobile devices like cellular phones and palmtops , microwave ovens
,washing machines and digital cameras getting smarter by the day. This
smartness comes from a microprocesssor , an operaitng system and a
program embedded in these devices. These programs not only have to run
fast but also have to work in limited amount of memory.With these
constraints on time and space, C is the language of choice while
building such operating systems and programs.
Fifth-All
the games are made from C. This is because the essence of all these
games is speed.This is the area where C dominates over other
languages.Many popular gaming frameworks have been built using C
language.
Sixth- Through C programming elements , programmer can interact with the hardware whenever needed.
Seventh-
C allows programmers to (while sacrificing portability) have direct
access to many machine-level features that would otherwise require the
use of Assembly Language.
0 comments:
Post a Comment
Hey this is a test comment