Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 5th, 2005, 9:28 PM   #1
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
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
Kilo is offline   Reply With Quote
Old Dec 5th, 2005, 9:39 PM   #2
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
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
Dameon is offline   Reply With Quote
Old Dec 5th, 2005, 10:04 PM   #3
groovicus
Programmer
 
Join Date: Nov 2004
Posts: 84
Rep Power: 4 groovicus is on a distinguished road
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
groovicus is offline   Reply With Quote
Old Dec 5th, 2005, 10:25 PM   #4
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
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
Mjordan2nd is offline   Reply With Quote
Old Dec 6th, 2005, 5:33 AM   #5
Ade
Hobbyist Programmer
 
Ade's Avatar
 
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0 Ade is an unknown quantity at this point
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
Ade is offline   Reply With Quote
Old Dec 6th, 2005, 8:12 AM   #6
InfoGeek
Professional Programmer
 
InfoGeek's Avatar
 
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4 InfoGeek is on a distinguished road
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.
InfoGeek is offline   Reply With Quote
Old Dec 6th, 2005, 9:13 AM   #7
groovicus
Programmer
 
Join Date: Nov 2004
Posts: 84
Rep Power: 4 groovicus is on a distinguished road
Quote:
you should try and learn easier things first and slowly grow to the level of writing an OS
Exactly... there is a difference between filling a need (such as 'nix), and just wanting to write an OS because it seems like the cool thing to do (Again Kilo, this is not about you at all, just me exploring motivations). There are so many threads that read something like "I just started programming..I want to write an OS, or a really cool game". I can't imagine the frustration they must feel when they realize that it is way beyond their reach. (or how often that kind of frustration puts someone off wanting to pursue programming at all).
__________________
HijackThis Team-SFDC
groovicus is offline   Reply With Quote
Old Dec 6th, 2005, 7:11 PM   #8
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
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.

EDITgroov: 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
Kilo is offline   Reply With Quote
Old Dec 6th, 2005, 9:47 PM   #9
MrMan9879
Programmer
 
MrMan9879's Avatar
 
Join Date: Sep 2005
Location: Nanaimo, BC, Canada
Posts: 97
Rep Power: 0 MrMan9879 is an unknown quantity at this point
Send a message via MSN to MrMan9879
I've got a bit of a question... what is ASM? Is it Assembler? I think it might be but I could be wrong.
MrMan9879 is offline   Reply With Quote
Old Dec 6th, 2005, 10:01 PM   #10
Benoit
Expert Programmer
 
Benoit's Avatar
 
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 550
Rep Power: 4 Benoit is on a distinguished road
You are correct, its Assembler
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4
Benoit is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:37 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC