Os!!
Os!!
I’ve learned a lot about building an operating system, but I still have some questions. Can you guide me? First, where can I start creating or developing an OS? Second, what exactly is a shell and an API? Many people find these terms confusing. Please help me understand! Thank you.
What is it about? Which software can set up an operating system? Which devices support this? Please explain further.
Linux and Apple OS are primarily built using C, while Windows relies on C++. You just need a program to create the code. In theory, you could write it in Notepad.exe if you're really determined. 2) Shell refers to a general method for controlling and managing OS settings. Examples include the Windows Command Prompt and Control Panel, though most people think of text-based tools. API stands for application programming interface—a collection of tools that developers use to build programs for the system. I wouldn’t share my source code directly, but provide pre-compiled commands that are simpler to use. This way, when developers use APIs like DirectX, they don’t need deep knowledge of specific GPU details.
Building an operating system involves significant effort. Before tackling even basic tasks like connecting to a shell, you need to understand the essentials. Companies such as Apple, Microsoft, and Canonical invest large teams and time to develop their systems, providing a solid foundation. In my class, we explored only parts of the design process rather than creating an OS ourselves. If you want to begin, consider using "Operating Systems Concepts" by Abraham Silberschatz. A shell functions as the set of programs that enable user interaction with the kernel, much like a car’s door, steering wheel, and pedals let you control the engine, wheels, and brakes. You could start by getting comfortable with a Linux distribution—Ubuntu, Mint, or Debian—ideally running them in a virtual machine. Once you’re confident, you can progress to Arch Linux, which offers full control over its configuration.
I understand, both concepts can be tricky. Let me clarify them for you.