We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>


Looking For Something at vustudents.ning.com? Click Here to Search

Graded discussion (GDB) will be launched on 29th January, 2018 and it will remain open for two days. You can post your answer till 30th January, 2018.

GDB : C is a general-purpose, imperative computer programming language, supporting structured programming. Compilers, libraries and interpreters of other programming languages are often implemented in C. Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere".


+ Click Here To Join also Our facebook study Group.


+ Prohibited Content On Site + Report a violation + Report an Issue


..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 1034

.

+ http://bit.ly/vucodes (Vu Study Groups By Subject Codes Wise)

Replies to This Discussion

Please start disscution about GDB 

Preferred for writing Operating systems is java .

But question is since early era that make confusion /span>

share your views 

i think C is better 

YES In CASE OF early era 

bro any idea solution plz share /////

C language is preferable

obversively 

 Also justify your choice. Write few solid points for chosen language.

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++).

Answer:

Java has some limitations:

  • Java translates into byte code which has to be compiled to run on a system by java runtime environment. It is limitation, and if this limitation is not avoided then it is impossible to write an OS in java.
  • There are some compilers that run native code for java but still there are some restrictions. OS has some responsibilities which are hard to implement by java. All modern OS provide memory management. We have to deal with things like heaps, pointers, user-space and layers of Kernel. And these are not simply implemented by java, if we implement them then fundamental policies of java will broken and will wrong the syntax of java.
  • Therefore, I’ll prefer to write OS in C.

RSS

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service