Cs508 Gdb Solution Fall 2017
C is preferred for writing Operating
system since early era because
Portability and Efficiency:
C is almost a portable assembly
language. It is as close to the machine as possible while it is almost
universally available for existing processor architectures. There is at least
one C compiler for almost every existent architecture. And nowadays, because of
highly optimized binaries generated by modern compilers, it’s not an easy task
to improve on their output with hand written assembly. Many embedded systems
run on C.
Memory Manipulation
Arbitrary memory address access and
pointer arithmetic is an important feature that makes C a perfect fit for
system programming (operating systems and embedded systems).
Code Size
C has a very small runtime. And the
memory footprint for its code is smaller than for most other languages.
Databases
The world’s most popular databases,
including Oracle Database, MySQL, MS SQL Server, and PostgreSQL, are coded in C
(the first three of them both in C and C++).
Note: Make Changes from the above dnt copy paste I m not responsible in case of zero marks
No comments:
Post a Comment