Linked by Hadrien Grasland on Sat 5th Feb 2011 10:59 UTC
OSNews, Generic OSes So you have taken the test and you think you are ready to get started with OS development? At this point, many OS-deving hobbyists are tempted to go looking for a simple step-by-step tutorial which would guide them into making a binary boot, do some text I/O, and other "simple" stuff. The implicit plan is more or less as follow: any time they'll think about something which in their opinion would be cool to implement, they'll implement it. Gradually, feature after feature, their OS would supposedly build up, slowly getting superior to anything out there. This is, in my opinion, not the best way to get somewhere (if getting somewhere is your goal). In this article, I'll try to explain why, and what you should be doing at this stage instead in my opinion.
Permalink for comment 461408
To read all comments associated with this story, please click here.
RE[6]: Not always rational
by Morin on Tue 8th Feb 2011 17:12 UTC in reply to "RE[5]: Not always rational"
Member since:

That's a fair criticism - the shared ram and cache coherency model used by x86 systems is fundamentally unscalable.

I was referring to the shared RAM and coherency model used by Java specifically. That one is a lot better than what x86 does, but it still makes the RAM a bottleneck. For example, a (non-nested) "monitorexit" instruction (end of a non-nested "synchronized" code block) forces all pending writes to be committed to RAM before continuing.

However, considering that shared memory is the only form of IPC possible on multicore x86 processors, we can't really view it as a weakness of the OS.

If you limit yourself to single-chip, multi-core x86 systems, then yes. That's a pretty harsh restriction though: There *are* multi-chip x86 systems (e.g. high-end workstations), there *are* ARM systems (much of the embedded stuff, as well as netbooks), and there *are* systems with more than one RAM (e.g. clusters, but I'd expect single boxes that technically contain clusters to be "not far from now").

Reply Parent Score: 2