Intresting question

Discussion in 'Programming' started by hajrice, Sep 23, 2006.

  1. #1
    ok here is the question.Is it possible to create a Operatin System like "Windows XP" in Visual C++ 2005.
     
    hajrice, Sep 23, 2006 IP
  2. KunkVentures

    KunkVentures Peon

    Messages:
    744
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is it possible? Yes, almost anything is possible. Is it gonna happen, not your lifetime. Take teams of programmers and various languages to code an OS.
     
    KunkVentures, Sep 25, 2006 IP
  3. fhirzall

    fhirzall Guest

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well last I heard, windows xp has around 40 million lines of code?
    Better get started working on that now :)
     
    fhirzall, Sep 25, 2006 IP
  4. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I would like to add, though, that if you were going to do it in Visual C++, then you will either:
    a) not use the 'visual' aspect at all; or
    b) only have a virtual operating system.

    VC++ applications require Windows libraries to run and so you could only create a full 'native' OS if you don't use any of the Visual aspects if that makes sense.
     
    TwistMyArm, Sep 26, 2006 IP
  5. Brilliances

    Brilliances Active Member

    Messages:
    619
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #5
    You would just get a buggy operating system on top of another buggy operating system :eek:
     
    Brilliances, Sep 26, 2006 IP
  6. wmtips

    wmtips Well-Known Member

    Messages:
    601
    Likes Received:
    70
    Best Answers:
    1
    Trophy Points:
    150
    #6
    Windows XP is already written in Visual C, so it is possible.
    But it is impossible without Assembler, because not all parts written in pure C.

    So you want to write an OS if you ask such questions? Where can I download the beta in the next ten years? :D
     
    wmtips, Sep 26, 2006 IP
  7. DrMalloc

    DrMalloc Peon

    Messages:
    130
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Few operating system kernels are written in C++ due certain features of the language/compilation that make it a weaker candidate than C. And as wmtips pointed out, certain parts of the operating systems must be written in assembly. Despite the steep learning curve of writing an operating system from scratch, many people still do it as a hobby. http://www.osdever.net/ has a bunch of tutorials and papers, and links to other places that deal with the same subject.
     
    DrMalloc, Sep 26, 2006 IP
  8. Brilliances

    Brilliances Active Member

    Messages:
    619
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #8
    :eek: Some people just have too much time...
     
    Brilliances, Sep 27, 2006 IP
  9. U-P-L-O-A-D.COM

    U-P-L-O-A-D.COM Banned

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yes almost Microsoft devlops most of OS in VC or VC++
     
    U-P-L-O-A-D.COM, Sep 27, 2006 IP