Author |
Message |
php111
|
Posted: Wed Sep 12, 2007 7:32 pm Post subject: What programming languages are required for building an OS? |
|
|
Hi all,
What programming languages are required in building an OS? What is required in building an OS? I never programmed before. Is there any tutorials for programming that is required to build an complete OS? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Mazer
|
Posted: Wed Sep 12, 2007 7:49 pm Post subject: RE:What programming languages are required for building an OS? |
|
|
Disclaimer: I realise after typing this whole message that you never actually implied that you wanted to build an OS yourself, but I'm leaving it anyways in case you really do.
Let me just say that you are getting in WAY over your head. Like, way way. You would not believe just how way over your head this stuff is.
I'm not trying to be a douche, but I don't want you to get the idea that doing your best and never giving up will get you somewhere this time. There are whole books that will serve just as introductions to the internals of an operating system.
If you are really curious about this, try looking for a book about it at your local library. You do need to know how to program, and you need to know alot of theory. |
|
|
|
|
|
Tony
|
Posted: Wed Sep 12, 2007 7:49 pm Post subject: RE:What programming languages are required for building an OS? |
|
|
Considering the purpose of the OS, any programming language capable of communicating with the hardware can be used. There is no required language.
Anyways, if you have never programmed before, you should not be attempting anything on the OS's level of complexity for a while yet. Start smaller. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
php111
|
Posted: Wed Sep 12, 2007 7:52 pm Post subject: Re: RE:What programming languages are required for building an OS? |
|
|
Mazer @ Wed Sep 12, 2007 7:49 pm wrote: Disclaimer: I realise after typing this whole message that you never actually implied that you wanted to build an OS yourself, but I'm leaving it anyways in case you really do.
Let me just say that you are getting in WAY over your head. Like, way way. You would not believe just how way over your head this stuff is.
I'm not trying to be a douche, but I don't want you to get the idea that doing your best and never giving up will get you somewhere this time. There are whole books that will serve just as introductions to the internals of an operating system.
If you are really curious about this, try looking for a book about it at your local library. You do need to know how to program, and you need to know alot of theory.
Is there any tutorials for this? What kind of programming and theory do i need to know? |
|
|
|
|
|
php111
|
Posted: Wed Sep 12, 2007 7:53 pm Post subject: Re: RE:What programming languages are required for building an OS? |
|
|
Tony @ Wed Sep 12, 2007 7:49 pm wrote: Considering the purpose of the OS, any programming language capable of communicating with the hardware can be used. There is no required language.
Anyways, if you have never programmed before, you should not be attempting anything on the OS's level of complexity for a while yet. Start smaller.
Tony,
What can i do to start smaller? |
|
|
|
|
|
Clayton
|
Posted: Wed Sep 12, 2007 7:57 pm Post subject: RE:What programming languages are required for building an OS? |
|
|
Start looking around for beginner tutorials. There are a large number of them here on this very site as introductions to programming. At the top of this very forum is a sticky called The [WIP] Collection, where you can find such tutorials. |
|
|
|
|
|
php111
|
Posted: Wed Sep 12, 2007 8:03 pm Post subject: Re: RE:What programming languages are required for building an OS? |
|
|
Clayton @ Wed Sep 12, 2007 7:57 pm wrote: Start looking around for beginner tutorials. There are a large number of them here on this very site as introductions to programming. At the top of this very forum is a sticky called The [WIP] Collection, where you can find such tutorials.
Thank you Clayton. Is that what i need to learn? I can't edit posts. I am only a member. Thank you for the bits who ever gave them to me. |
|
|
|
|
|
md
|
Posted: Wed Sep 12, 2007 8:03 pm Post subject: RE:What programming languages are required for building an OS? |
|
|
Buy Operating Systems and Design, ver. 3
Learn C
Learn C++
Learn assembler
Learn the internals of minix
Then you can start to think about what an OS should look like.
Then do WAY more research and studying and learning of C/C++/asm
Then you can start doing very basic OS level stuff. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
php111
|
Posted: Wed Sep 12, 2007 8:06 pm Post subject: Re: RE:What programming languages are required for building an OS? |
|
|
md @ Wed Sep 12, 2007 8:03 pm wrote: Buy Operating Systems and Design, ver. 3
Learn C
Learn C++
Learn assembler
Learn the internals of minix
Then you can start to think about what an OS should look like.
Then do WAY more research and studying and learning of C/C++/asm
Then you can start doing very basic OS level stuff.
What do you mean? Do you mean i have to buy an Operating System (OS)? Can i just use my Vista? |
|
|
|
|
|
CodeMonkey2000
|
Posted: Wed Sep 12, 2007 8:06 pm Post subject: RE:What programming languages are required for building an OS? |
|
|
I don't see any advantages of programming your own OS. It's usually not a good idea to reinvent the wheel. |
|
|
|
|
|
Clayton
|
Posted: Wed Sep 12, 2007 8:07 pm Post subject: RE:What programming languages are required for building an OS? |
|
|
php11 wrote: What do you mean? Do you mean i have to buy an Operating System (OS)? Can i just use my Vista?
It's a book. |
|
|
|
|
|
php111
|
Posted: Wed Sep 12, 2007 8:12 pm Post subject: Re: RE:What programming languages are required for building an OS? |
|
|
Clayton @ Wed Sep 12, 2007 8:07 pm wrote: php11 wrote: What do you mean? Do you mean i have to buy an Operating System (OS)? Can i just use my Vista?
It's a book.
Clayton real quick off topic question. Do you know how to use mIRC? How do i use it? |
|
|
|
|
|
Clayton
|
Posted: Wed Sep 12, 2007 8:18 pm Post subject: RE:What programming languages are required for building an OS? |
|
|
Download, install, and run it. Google if unsure. |
|
|
|
|
|
Geminias
|
Posted: Fri Nov 30, 2007 10:37 am Post subject: Re: What programming languages are required for building an OS? |
|
|
Assuming you know a thing or two about microcontrollers and assembly and C you could easily build a small embedded OS. For instance, most routers run linux. Getting into things like PDA's and web accessible cell phones and you won't stand much chance, but if you pick up a board with a microcontroller and lots of I/O pins you're looking at something more realistic. |
|
|
|
|
|
Zampano
|
Posted: Fri Nov 30, 2007 11:14 am Post subject: Re: What programming languages are required for building an OS? |
|
|
Do return to the original question of this topic, what language does an operating system use? i know that every parts of WIndows I use is coded somewhere, but how can logic gates interpret the language that operating system code is written without first having to interpret the instruction for interpretting that language, and how can they do that without first interpretting the language of the instructions for interpretting that language.
I'm sure I'm not being clear when it comes to specifying a real question, but these are the kind of questions I have about computers which are never answered in the highschool compsci and compeng courses, which resort to explaining such complicated concepts with watered down videos:
"So how does the computer work?"
"Well, it reads instructions and follows them; it's that simple!"
"Oh! Everything concerning computers makes sense to me now."
Those videos are the most disappointed things I ever watched. |
|
|
|
|
|
|