![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Expert Programmer
|
complete C++ OS???
is it possible to completely write a OS with C++ (no ASM involved)??? (not that i don't like ASM lol, i love it
).
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#2 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
No, many critical parts of the kernel must involve asm. You just have to get down and dirty. Interrupt handlers, process switching, memory management, controlling hardware, and others either require or benefit from asm at some level.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Nov 2004
Posts: 84
Rep Power: 4
![]() |
I'll admit it. I am dumber than a sack of hammers. What on earth would posess someone to want to write their own OS? Isn't that a bit like wanting to perform brain surgery on one's first day of med school? I'm presently rolling code for Djikstra's algorithm, and that is painful enough. There are so many other interesting problems to try and solve that I can't understand the desire to write an OS.. I can't even begin to imagine how difficult that would be.
Don't get me wrong Kilo.. I am in no way being critical of you. I just don't understand the fascination with creating one's own OS. Is it a "my dick is bigger than yours" kind of thing?
__________________
HijackThis Team-SFDC |
|
|
|
|
|
#4 |
|
The Supreme Ruler
![]() Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6
![]() |
The reason I wanted (and still want) to do it is the feeling of almost complete control you have over your computer when there is almost nothing but your own code running on the machine. Also, I thought it would help me learn quite a bit too.
That's my reason, anyway.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
Had Linus never wanted to prove that 'his dick is bigger than yours' then we wouldn't have Linux now.
Thank god Linus has a tiny penis, I hate windows.
__________________
Don't wound what you can't kill |
|
|
|
|
|
#6 |
|
Professional Programmer
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4
![]() |
I can see grovicus's point here. I think what he's trying to say is that you should try and learn easier things first and slowly grow to the level of writing an OS. Yeah, I myself want to write an OS but I don't think i'm ready for it right now. I need to learn a lot( like asm) first.
__________________
PFO - My daily dose of technology. |
|
|
|
|
|
#7 | |
|
Programmer
Join Date: Nov 2004
Posts: 84
Rep Power: 4
![]() |
Quote:
__________________
HijackThis Team-SFDC |
|
|
|
|
|
|
#8 |
|
Expert Programmer
|
the only reason i would ever want to write a basic OS, would be for knowledge. For the pure sport of learning and breaking down computer architecture.
EDIT groov: i think about 6-7 years ago i used to be one of those noobs wanting that kind of satisfaction. What i did was re-wrote those programs a hundered time learning a little bit every single time i wrote the damn thing.(IRC client for example). And yet to this day i still re-write the programs i used to back in the day (client->server apps, irc clients, directX based games and such).
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#9 |
|
Programmer
|
I've got a bit of a question... what is ASM? Is it Assembler? I think it might be but I could be wrong.
|
|
|
|
|
|
#10 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 550
Rep Power: 4
![]() |
You are correct, its Assembler
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|