I love to code, but I am currently only doing web development. I'd like to do something that will be unique and fun and very different from web programming.
Yeah, this might be a dumb question, but I think it would be really cool to build a really simple Operating System. So please do not say anything rude. I just want to know the following things:
*Where to start? *Resources *What language would I use?
I was thinking something simple like a cmd based
C is the programming language most commonly used and recommended for writing operating systems. For this reason, we are going to recommend learning and using C for OS development. However, other languages such as C++ and Python can also be used.
Closed-source operating systems use code that is proprietary and kept secret to prevent its use by other entities. Traditionally, they are sold for a profit. Open-source operating systems use code that is freely-distributed and available to anyone to use, even for commercial purposes.
Without an operating system, You cannot run a program that was written to be run in an operating system. Most programs are of this sort. You could write a program that runs without an operating system but this would be a very hard task, mainly because the operating system provides drivers for all the hardware.
Linux is a free, open source operating system, released under the GNU General Public License (GPL). Anyone can run, study, modify, and redistribute the source code, or even sell copies of their modified code, as long as they do so under the same license.
The absolute "bible" on operating system design is and was Andrew Tanenbaum's Operating Systems Design and Implementation - the "Dragon" book :-)
There are plenty of other references, too, e.g. Developing Your Own 32-Bit Operating System.
Microsoft Research also has/had a project on creating an operating system in managed code (C#) called Singularity - that might provide some insights/papers etc.
Writing a complete OS is neither a trivial nor a quick task, though.....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With