<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
> I'm learning more about C, and the more I learn the more I'm<br>
> convinced that C programmers just like making life difficult for<br>
> themselves. There really isn't anything that great about C.<br>
<br>
</div> Check the 'first published' date in that copy of K&R again.<br>
<br>
'Full of bugs and hacks' may be a bit of a disservice too. We are<br>
talking about breathtakingly well-bearded men here.<br>
<br>
The usual response is 'try writing an OS in {insert molly-coddling<br>
language of choice that the initiate currently likes here}'.<br>
<br>
While things like this[1] or this[2] are pretty cool, they're not<br>
*really* serious. While I'm not much of a linguist, I can't think<br>
of another language that would be suitable (today) to build<br>
an OS in.<br></blockquote><div><br>... actually, MS wrote an experimental OS that was completely in .Net which, by the few people I know who actually saw it, was really, really good. But wouldn't have supported the old Win API so wasn't going anywhere.<br>
<br>IBM writes a lot of their mainframe operating systems in PL/X which is a variant on PL/I. OS/400 I believe has a bit in some OO variant of RPG.<br><br>I'd personally be inclined to have a stab with Oberon (since they've developed an OS in it anyway), its Pascal derivative and supports some very nice features.<br>
<br>And interestingly you probably wouldn't use many of C's defaults - I think its already been commented that its method of passing parameters is actually rather inefficient, as is its string representations, and its memory model is quite dangerous. You wouldn't use its default linking method either. This is kind of true for a lot of OSes that are "written in C" at any rate.<br>
</div></div>