Want To Write Your Own OS? 129
DJSlakoR writes "Looks like the Nocturnal Network has a tutorial on how to get started coding your own operating system. A very interesting read!"
My sister opened a computer store in Hawaii. She sells C shells down by the seashore.
Want To Write Your Own OS? No. (Score:5, Insightful)
As someone, who has some experience in this field, I can assure you, that the correct answer to the question "Want To Write Your Own OS?" is "No, you certainly do not." Of course, it looks great at the beginning when you code a first working bootloader, then it's a great joy when your first single-tasking kernel can run its first process, et cetera. But as soon as you start working on the multitasking, decent scheduling, threads, multiple processes, file system, networking, writing an optimizing compiler and assembler suited for your platform, while constantly keeping security in mind, it soon becomes more work than using mature systems, like Open BSD or Debian, or even Gentoo. Don't get me wrong, I think everyone should write few toy operating systems, that's the only way one can learn the craft, but don't expect that your OS will soon become better than the systems already available, because they are bloated, while yours wouldn't be. This is a myth, and quite misleading at that, to say the very least. Still, this is great news (even if not actually new to anyone experienced).
Re:Want To Write Your Own OS? No. (Score:1)
Re:Want To Write Your Own OS? No. (Score:1, Flamebait)
Is that some kind of joke? (Score:1, Flamebait)
You seem to have completely failed to
"It's [sic] really doesn't make [me] look good"? (Score:1)
And, I suppose, insulting a woman, calling her "pretentious jerk," while cowardly hiding behind your anonymity, does make you look good, right? *sigh*
Re:"It's [sic] really doesn't make [me] look good" (Score:1)
It's a fallacy of relevance if you think whet
Re:"It's [sic] really doesn't make [me] look good" (Score:2)
lol
I'm terribly sorry (Score:1)
I'm terribly sorry, if you find punctuation confusing, but I cannot write incorrectly, just because some people, who are less fluent in the language, might have problems with understanding my words, but I will try to keep your advice in mind, though, thank you.
Re:I'm terribly sorry (Score:1)
Re:I'm terribly sorry (Score:2)
I think you mean "of which I am a member."
DAMN!
You beat me to the punch on that one. I saw that she had changed her signature line, and I figured I'd get in a quick jab
Odd, Her views may not not necessarily be those of MENSA, of which she is a member, but her attitude sure the heck is.
You apparently have too much of free time (Score:1)
You are a very mature and intelligent preson indeed. Would you please try to argue with me about meritum, instead of reading all of my texts and waiting for some mistake, which you could then point out? Thank you.
Re:You apparently have too much of free time (Score:1)
Re:You apparently have too much of free time (Score:1)
Re:You apparently have too much of free time (Score:1)
Wild accusations and claims backed by air is not a sign of intelligence.
Re:You apparently have too much of free time (Score:1)
You have already given me reasons to believe, that you are enjoying those insults. I hope you have fun indeed.
Re:You apparently have too much of free time (Score:1)
The insults however, comes naturally when conversing with assholes like yourself.
I sincerely hope that you are not a representative sample of the average mensa member.
Re:You apparently have too much of free time (Score:1)
The "so called" makes no sense here. It would make sense if you said e.g. "the MENSA organisation, which provides a forum for a so called 'intellectual' exchange among its members" but "the so called mensa organisation" itself sounds stupid at least, as it in fact happens to be so called.
Re:You apparently have too much of free time (Score:1, Troll)
At first I thought you were being rude and sexist, and was going to call you a hypocrite based on your other messages, but then I remembered the quality of your spelling...
Thank you... (Score:1)
Well, thank you... I just don't know what to say... This is very sweet, that you say, you love me. Unless it has some kind of hidden sexiest meaning, because in that case, I would say, that it is not sweet at all, if you ask me. I hope, what you meant, was a platonic love. If you did, then thank you very much indeed.
Re:Is that some kind of joke? (Score:2)
She was right to call him on it. He used her post to spring-board off somewhere in bizarro land where a debate goes like this: Person A says X, then person B says No, it's X! WTF? If you are going to post stupidly, be prepared to be called on it.
Re:Is that some kind of joke? (Score:1)
Thank you. You got exactly to the point. It is very reassuring to know, that there are indeed some intelligent people on Slashdot, even if we are in minority. Maybe it's even better that way. After all, as Mark Twain has said, "Whenever you find yourself on the side of majority, it's time to pause and reflect."
Your grammar is HORRIBLE (Score:1)
It is very re
Your "psychoanalytic" skills are very amusing. (Score:1)
I have to disappoint you, Mr. Freud, but your psychoanalysis, even if somewhat entertaining, is indeed wrong. I write my posts once, from the beginning, to the end. Sometimes I read it and c
Re:Is that some kind of joke? (Score:1)
And I, for one, am not posting anonymously.
Re:Is that some kind of joke? (Score:2)
Ranking in the top two percentile, or roughly two sigmas above the mean on IQ (about 130+) certainly places one, by some rather abitrary metric, beyond the bulk of the population. But the population that tends to hang out in fora like this one aren't the bulk of the population. This is particularly tru
Re:Is that some kind of joke? (Score:2)
AMEN.
I meet many Mensa folk in my journeys. I have found exactly that. Bright folk, sure. But they do tend to be on a self-righteous trip, which I could certainly do without.
Some of us here rank a couple of sigmas above Mensa minimums, i.e in the top two percent of that top two percent. So what? We don't rub people's noses in it. If they've got something valid to say (o
Re:Is that some kind of joke? (Score:1)
"you PoS"? How intelligent! I'm impressed! (Score:1)
Certainly, disagreeing with me doesn't imply stupidity, indeed. Agreeing with me, but still arguing because of failing to understand my words â" does. After reading your comment, posted as an answer to my explanation of this very matter, I do not even hope you to understand that, though. As a sidenote, I might add, that using invectives hidden behing acronyms, does not strengthen your argument even a slightest
Re:"you PoS"? How intelligent! I'm impressed! (Score:1)
No, it was just a mistake. It should be "behind." Thank you, that you were so kind, to piont it out.
Re:"you PoS"? How intelligent! I'm impressed! (Score:2, Funny)
Re:"you PoS"? How intelligent! I'm impressed! (Score:1)
Please don't lie to me. We both know what you meant by calling me "P. o. S." You are now trying to change the subject to something which I like and enjoy, so I could forget about public
Re:"you PoS"? How intelligent! I'm impressed! (Score:1)
PoS
- when applied to an A** hole like yourself, it' s "piece of shit"
- when applied to my crappy operating system, it's a "piece of shit OS", get it??
Why do you feel the need to use overly complicated sentence constructs when simplier ones will convey your meaning more effectively?
Why do you feel the need to belittle others whom you consider to be less intelligent than yourself?
How mature you are... (Score:1)
You are just not going to stop insulting me, are you?
Have you ever stop to think, that complex sentences might actually have more meaning, than the simple ones? Do you think, that intelligent people don't talk like little chil
Re:How mature you are... (Score:1)
Re:How mature you are... (Score:1)
The title of your post claims that writing one's OS is not a good idea, and the first half of your post gave a few support statements for that claim. Fine. Everyone is entitlied to their opinion and I happen to agree with yours.
Now, in the SAME paragraph, you proceed to give counter reasons to your original claim, that there may be good reasons for writing one's OS for learning purposes. I also happen to agree. Presumably, you were trying to
Re:How mature you are... (Score:2)
Part of your problem is that you add unnecessary (and sometimes grammatically incorrect) commas. As a learning exercise, try reading the sentence aloud, pausing whenever you reach a comma.
Your sentence I quoted would be said:
Have you ever stopped to think... that complex
Re:How mature you are... (Score:1)
Re:How mature you are... (Score:1)
If you believe this conversation is childish, then I encounrage you to stop.
Fair enough (Score:1)
Of course (Score:1)
Re:Fair enough (Score:1)
I simply expect mensa members to appeal to reason and critical thinking, nothing more.
Hurting women's feelings is no worse (and no better) than hurting men's feelings, and I believe treating women any differently in this regard would be discriminatory, and sexist.
Furthermore, you don't know me, nor my gender, nor my sexual preferences. So lay off the "I am sensitive, and helpless" crap. People like you onl
Re:Of course (Score:1)
Well, that's really great. (Score:1)
You didn't have to say that. If you think that I am the worst woman on Earth, then why on Earth is it so important for you to keep insulting me, one time after another? Do you enjoy it? Don't you have a life?
Re:Well, that's really great. (Score:1)
Right. (Score:1)
Layman's perspective? (Score:1)
Layman's perspective? It looks more like a lamer perspective to me... *sigh*
Re:Is that some kind of joke? (Score:1)
Why, of course. (Score:1)
I'm sorry, but my post (very original, indeed) was being directed to people, with no reading difficulties. Next time, I will try to write short paragraphs, with very few simple sentences, built with only single-syllable words. Will you be satisfied then? Because, as I clearly see, you are all attacking me in every imaginable way, except talking about the meritum, which I find annoingly immature, to say the very least.
Re:Why, of course. (Score:1)
Well Done! ;-)
Re:Want To Write Your Own OS? No. (Score:4, Interesting)
Re:Want To Write Your Own OS? oh why not! (Score:1)
Re:Want To Write Your Own OS? No. (Score:3, Interesting)
I have to disagree. I wrote a real-time preemptive multitasking kernel for a class on RealTime systems and it was a fantastic experience. It was for a small microcontroller (AVR series) for which few such applications exist, so I wanted something that would be useful if I decided to make it a commercial product. I learned a tremendous amo
You disagree? (Score:1)
Great, another person "disagreeing" (quote, unquote) with me... *sigh* Please read this comment [slashdot.org], written by TheAwfulTruth, for intelligent explanation, and you will clearly see the awful truth (pun definitely intended).
Re:You disagree? (Score:2)
I cannot believe it. (Score:1)
I just cannot believe it! Is it your hobby to search for old threads, read them and, if you don't find them "funny," insult women as your revenge? Don't you have more important things to do maybe? Don't you think that every woman would find such words extremely offensive? You might consider finally growing up.
Re:I cannot believe it. (Score:2)
Wow, you're really good at this! Did you study trolling under PhysicsGenius or Bank_of_America_ATM?
You've gone from funny to stupid, to tedious, and right back to funny again.
I particularly like th
Maybe. (Score:2)
As someone, who has some experience in this field, I can assure you, that the correct answer to the question "Want To Write Your Own OS?" is "No, you certainly do not."
As someone else who has some experience (including in-depth university classes) in this field, I suggest a better answer would be "Maybe." As with any software, it depends on what you need it to do. I'm completely in agreement that thinking that you can whip up a revolutionary new OS in a month to beat down everything else out there is w
heh (Score:2, Interesting)
Re:heh (Score:1, Informative)
THey're at http://www.linuks.mine.nu/porn-get/ [linuks.mine.nu]
Re:heh (Score:1)
It could save some time.
What would you like to see most in minix? (Score:5, Interesting)
Hello everybody out there using minix -
:-)
:-(.
I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. This has been brewing since april, and is starting to get ready. I'd like any feedback on things people like/dislike in minix, as my OS resembles it somewhat (same physical layout of the file-system (due to practical reasons) among other things).
I've currently ported bash(1.08) and gcc(1.40), and things seem to work. This implies that I'll get something practical within a few months, and I'd like to know what features most people would want. Any suggestions are welcome, but I won't promise I'll implement them
Linus
PS. Yes - it's free of any minix code, and it has a multi-threaded fs. It is NOT protable (uses 386 task switching etc), and it probably never will support anything other than AT-hard disks, as that's all I have
Message dated 25 Aug 1991
Authentic ? (Was: Re: What would you like...) (Score:1)
Looks like an exceptionnal piece of history. At least for me, Linux being my favorite OS and having a business based on it.
How to write your own OS: (Score:5, Funny)
Re:How to write your own OS: (Score:1)
you can bet he's not on the "I only get paid if you win" plan.
an even better tutorial... (Score:5, Informative)
Re:an even better tutorial... (Score:4, Interesting)
If my personal company ever takes off I'll probably hire a few (5-10) people to work on a linux derivitave that is similar to OS X. Not in look and feel but in the way they took a good existing OS and put a very user-friendly layer on top of it. After getting that working I'll try to get them to integrate a VM like VMWare into the OS so running Windows programs will be like running native programs (obviously we'll have to include a windows license).
Re:an even better tutorial... (Score:1)
Nah, Windows has become a generic term. I here people say they use windows, but there are so many versions out there, 3.1, 95, 98, ME, 2000, NT, XP, CE and who knows what else that your never sure what they are talking about. Plus I here the X-Box runs windows too. The windows world really needs a standard like Posix to stop it from fragmenting like UNIX(tm) did before it. Maybe that's what
Re:an even better tutorial... (Score:3, Funny)
Re:Question for the article (Score:3, Informative)
PseudOS (Score:4, Interesting)
And when they got bored of fighting, use it to model space stations, automated traffic systems, and domestic droids. The idea would by to write the system as a pile of scripts running pseudocode. The trick would be to get everyone to write using the same language, that was really only useful for real-time processing.
My intent was also to develop "PPI" (Psuedo Programming Interfaces) that would act like device drivers, and translate a variable to, say, thrust on a rocket. Another PPI would translate position and orientation into an array. Still more would simulate the outputs from visual recoginitions systems, and so on.
If anyone has visited my website, they would see it presently exists as a paragraph or 2 of "coming soon speak." The project is probably waiting for me to be laid up after being struck by a bus or something.
Why go to the trouble of developing my own OS? Nothing really exists right now to comprehensively handle massive simulations. Yes you have protocols like HLA, but they are just message passing. Sure there is TCP/IP, but it's so neutral as to be of no help to someone starting out. I could develop a Java API, or a C++ library, but they are far too complex in some respects, and far too limited in others.
Frankly every operating system we have now assumes that you are structuring everything around files, documents, and static devices. At some point we have to do better.
I originally read the subject... (Score:4, Funny)
That particular dead horse is still having a shallow pool of its putrid entrails beaten though.
much easier way (Score:4, Funny)
void doOperatingSystem(char *name,char *color);
Pretty snazzy huh?!
Why not? (Score:3, Funny)
Re:Why not? (Score:2)
Re:Why not? (Score:5, Funny)
They have. You simply have to invoke a shell from within Emacs and invoke vi.
*ducks*
Boot Blocks for Dummies (Score:2)
OS Development (Score:1)
(sorry for posting kinda late, I was busy working on my OS!)
You are completely ignorant and clueless (Score:3, Informative)
Linus Torvalds perfectly realised that the name Linux was much too egotistical and simply unacceptable. We all agree about it now, but there's no point in comlaining, because Torvalds had already known that at the time of publishing the 0.01 version. "Linux" was only meant to be his private, temporary name of the OS on his own
Re:You are completely ignorant and clueless (Score:2)
You have GOT to be kidding. Freax is the worst name for anything that anybody could have ever thought of.
Imagine the MS FUD campaign: "Freax: The operating system for freaks"
It's super-FREAX... (Score:2)
Maybe not, if they could get Rick James to endorse it:
It's a very geeky OS...
The kind you don't install for mothe-rrrr
It'll never bring your system down
Once you burn it on CD.
It's super-FREAX, super-FREAX, it's super freeware, yow!
Re:Just like Linus. (Score:2)
That's a bunch of bullshit. The kernel is the hardest part!
Re:Just like Linus. (Score:2)
Really?
There's no really hard parts in a functionally complete OS kernel, as can be seen if you look at a simple OS like Minix or Xinu. The device drivers are kinda tricky, of course, but that's mostly because there are so damn many of them.
I'd estimate that it's about an order of complexity harder to write, say, an optimising retargetable C++ compiler. (Though it helps if you have a retargetable C compiler first.) Or perhaps something like Mozilla, though once again it helps if you already have Mosaic
Re:Just like Linus. (Score:5, Informative)
Quite the opposite happened in fact. GNU looked at the fledging Linux operating system and started porting their stuff to it. Glibc was written for Linux, not the other way around, for one example.
GNU was not an operating system that merely lacked a kernel. When RMS says that Linus merely dropped in a kernel, he is lying. Otherwise it wouldn't have taken Debian years to get Debian HURD bootable. It wouldn't have taken them years to get a Debian BSD to boot. I don't know how anyone can consider Debian "The GNU System" when it took crowbars, sledgehammers and ripsaws to get it to use The GNU System's own kernel. Yet Debian is closer to what RMS means by "The GNU System" than anything else out there.
Re:Just like Linus. (Score:1)
Glibc was not written for Linux; today it only supports Linux and the Hurd, but originally it supported many other systems. This was necessary in order to create as much as a free system as possible as long as there was no k
Re:Just like Linus. (Score:3, Informative)
Not originally, but to quote from RMS:
"Putting them together sounds simple, but it was not a trivial job. The GNU C library (called glibc for short) needed substantial changes." [Linux and the GNU Project]
In Mr. Stallman's own words it was glibc that was written to fit Linux and not the other way around. That glibc kept its cross-platform nature does not diminish from this fact.
It's simply the fact that the Hurd (due to its much more nonstandard design than Linux) hasn't
Re:Just like Linus. (Score:2)
Are RMS' systems still running FreeBSD? I'd bet many of them are...
Re:Just like Linus. (Score:2)
This is America, where every day is "anything can happen day".
FreeBSD is there for us; it is our exit strategy. Mock not the exit strategy! For it may save our butts one
Re:Big fucking deal! (Score:2)