Q&A for How to Make a Computer Operating System

Return to Full Article

Search
Add New Question
  • Question
    Can I do this if I have no programming experience?
    Community Answer
    Only if you're willing to learn a lot. You will require a full understanding of at least assembly code, and the motivation to learn more. Building your own OS is not a small task.
  • Question
    What should be my first step?
    Community Answer
    Learn programming languages and concepts, and practice to become a very strong programmer.
  • Question
    Which applications can I use to program my operating system?
    Community Answer
    That depends on the programming language you are using. It is recommended, however, to use an IDE, or Integrated Development Environment, to program your operating system, as IDEs have built-in tools and features to help make development easier. Not all IDEs support every language however, so you will want to specifically search for IDEs that support the language (or languages) you're using.
  • Question
    Is coding my own kernel better than using an existing kernel?
    Community Answer
    Getting an open source kernel is better than coding one if you are in uni or something because you're not having to start from scratch or pay for it since it is open source. However, coding one proves a higher knowledge in programming, which you might prefer.
  • Question
    Can I merge the Windows and Android operating systems?
    Community Answer
    You can, but they're both two different operating systems and it would require a great deal of programming experience and work. Thus, unless you're able to do the programming, don't try it.
  • Question
    How can I merge Windows and Android operating systems?
    Community Answer
    Windows is an unstructured OS, not to mention it's not open source, adding functionality to Windows is a pretty tough task. While Android can be said to be a variant of Linux, a structured and open-source OS, adding functionality layers is easy, but too many layers result in bad user experience. Back to the question, It would certainly require you have extensive knowledge of Android (you can try cooking an Android rom) and insider-knowledge of how some core components of Windows work, so what do you get after merging these two OS, will it be structured or unstructured, to begin with? There's too much ambiguity!
  • Question
    How much time would it take to build a new operating system?
    Community Answer
    It'd take months if not years to make an OS that works properly with plenty of functionality. There's no possible way you can cook up an operating system in a few weeks or days.
  • Question
    Can I make an operating system using java only?
    Community Answer
    Yes, Someone has done that before. However, If you want people to actually use your OS don't use java. It not only will take much, much longer but it will also not be as good as an OS made from another coding language. So, you can, yes, but should you? Probably not.
  • Question
    What are some essential skills for developing an OS?
    Community Answer
    You need a LOT of knowledge regarding assembly and a low-level language, such as C. You'll also need extensive knowledge on memory handling, and will need to be able to handle connections with devices and peripherals.
  • Question
    Can you give me more information about graphics and where to start?
    Community Answer
    You can make the graphics yourself, and you can start anytime and in any place you want. All you need is some programming knowledge and some software to program it with. If you're not sure what to do, doing an online tutorial with such places as Code Academy or Khan Academy might help.
  • Question
    What should I know first if I want to build an operating system?
    Community Answer
    You should learn programming concepts in a language like Python, then move on to a low-level language like C++. After mastering that, learn Assemblyx86.
  • Question
    What assembly language is preferred, considering C as a high-level language choice? Is FORTRAN a good choice?
    Bill Patterson
    Community Answer
    FORTRAN isn't an assembly language, it's another "high level" language. The assembly language you use depends on your target architecture. For example, you would need x64 (x86_64) for a 64-bit version of the x86 architecture. That would be ideal for a desktop OS. If you're looking to build an OS for embedded applications, similar to TI's RTOS, you'd want ARM or MIPS assembly to support the corresponding instruction set architecture.
  • Question
    Can Visual C+ create an OS?
    Kurtis odonnell
    Community Answer
    No. Visual C++ is built on the .NET Framework, and .NET runs only on Windows.
  • Question
    Are there websites that let me create OS easier? If there is one, what is it?
    Community Answer
    No, there really are no sites like that. You can't really take shortcuts in this ordeal.
  • Question
    Can one create his own unique programming language and operating system?
    Community Answer
    If you're extremely skilled at programming. Every programming language and operating system was created by somebody (or a group of people).
  • Question
    Can I create an operating system by modifying UNIX?
    Community Answer
    Yes, that was the whole concept of MINIX and GNU/Linux. But first, familiarize yourself with the complexity of the Linux system.
  • Question
    Can I use a MacBook to create an operating system?
    Alex Angel
    Community Answer
    Yes, you can, but when it comes to the development of your OS, go with Linux on your computer/laptop.
  • Question
    How do I add Ubuntu as my new machine in VirtualBox?
    Community Answer
  • Question
    Whats the best language to write your OS on?
    Craft CGame
    Community Answer
    A low level language, such as C and Assembly, as it would run a lot faster than a high level language.
  • Question
    Can I build an OS using Python?
    Craft CGame
    Community Answer
    Yes, but you also need some knowledge of a low-level language such as C to write all the very low-level stuff on the OS.
  • Question
    Can I use C+ for making an OS?
    Craft CGame
    Community Answer
    You can, but it would be better to write it on another low-level language such as C.
  • Question
    Can I make an operating system with HTML, CSS and JavaScript?
    Community Answer
    These can only be used for websites, so unless you're building a web-based OS, no.
  • Question
    Which languages are good for programming a OS? Please give some suggestions.
    Ashton Snapp
    Community Answer
    Operating systems are usually programmed using systems programming languages, like C and C++. A new systems programming language Rust is gaining ground however, due to better memory safety.
  • Question
    Do I need to write a new OS for every processor I want to support in a different assembly language? Or do I just point it to a C file that handles everything? How does that work?
    Ashton Snapp
    Community Answer
    If you're coding in a language like C, you can tell your compiler (like GCC) to target each processor architecture. If you're coding in assembly language, then don't. Seriously, don't. Unless you only want your system to work on one architecture, don't use assembly language by itself. You can get away with making the bootloader using assembly, but not much else.
  • Question
    Can I use Python to make my own OS?
    Ashton Snapp
    Community Answer
    Python is an interpreted language. In order to create an operating system, primary components like the kernel cannot have any dependencies, and the python interpreter would be considered a dependency.
  • Question
    C# is built on the .NET framework. Does that not mean you can't build an OS with it?
    Ashton Snapp
    Community Answer
    There is an open-source tool called Cosmos that allows you to code an operating system using .NET languages.
  • Question
    Let's say I want to use a command line compiler other than an IDE for my OS development, Which C/C+ compilers can you recommend?
    Ashton Snapp
    Community Answer
    The GNU C Compiler (GCC) is commonly used, as well as its C++ counterpart (g++).
  • Question
    What is Windows and what operating system does it have?
    Ashton Snapp
    Community Answer
    Windows is an operating system. It is made by Microsoft and uses the NT kernel.
  • Question
    If you only do a "Hello World" operating system, how long would it take?
    Joseph Vincent Bongo
    Community Answer
    Just a short time. "Hello, world!" programs are not OSes, they are just programs running in command line programs.
Ask a Question

      Return to Full Article