Thread: C and implementation

  1. #1
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784

    C and implementation

    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?

  2. #2
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    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

  3. #3
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    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.

Popular pages Recent additions subscribe to a feed