Sunday, December 27, 2009

What are the programming languages that we should know to create an operating system?

Mainly ';C'; language.What are the programming languages that we should know to create an operating system?
u should have sound knowledge of Assembly %26amp; C. Apart from that you should have knowledge of hardware structure of PC hardware components, their internal working, advance concepts like DataStructure, processor structure %26amp; its instruction set, process management, memory management, device management etc. If u r really interested in system programming then u start with writing small device drivers which will give u experience which would help a lot in writing an operating system.What are the programming languages that we should know to create an operating system?
Well, Mainly C language, C, assembly, visual basic is also needed, orcale.
C, assembly.
Knowing the Basic concept of programming language is just asyntax any way we should know C which is a basic one and one Object Oriented Programming like C++,JAVA ..
The language matters less than knowing the hardware you are working with. Of course, nobody is going to write an OS in VB or Perl... you need a lower level language with the ability to directly manipulate memory.
Theoretically, only Assembly.


Practically, you need C (or C++), especially for complex functions like process scheduling, memory allocation, file system, memory protection, etc.





You don't need to have any fancy stuff, like Java, or Oracle.


Just look at Linux or Windows for example, most of the code was written in C, and some in Assembly for machine-dependent code (or performance).





You might need to understand how your processor works, especially the boot-sequence. Some processor is using flash, and some other is using eeprom (BIOS) for booting-up.





Good luck!

No comments:

Post a Comment