What better language to write an operating system, other than assembly. But operating systems are not written in pure assembly. I think that they have to support certain techologies. What are the requirements affecting the design?
What better language to write an operating system, other than assembly. But operating systems are not written in pure assembly. I think that they have to support certain techologies. What are the requirements affecting the design?
Normally an OS is started by writing some ASM code to make a level of abstraction, then a compiler is written using ASM for a language like C or C++, then there are two roads, more of the system can be written using ASM or you could then use the compiler to continue the development using the higher level language making life easier.
"only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein
What about creating this level of abstraction and than porting a compiler to your budding OS, for example the intel compiler.
I just picked up a book on operating systems, it covers the basic topics and examines WinXP, Win2k, Linux, OSx, Unix, FreeBSD, Solaris, etc.
Wouldn't you say that it would be a good idea to model the components? In that case, there are probably some components that need to be built first. How do you approach building the OS in stages. How important is the planning.