From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8be18979db11f51c X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,fb631c9316319fef X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-02-27 18:46:06 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!sunqbc.risq.qc.ca!newsfeed.mathworks.com!news.mv.net!not-for-mail From: "Bill Todd" Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: Drop C/C++ better sooner than later Date: Tue, 27 Feb 2001 21:46:29 -0500 Organization: Why won't Outlook let me leave this blank? Message-ID: <97hofv$j4u$1@pyrite.mv.net> References: <87n1baae6s.fsf@prep.synonet.com> <97bm3a$7tv@gap.cco.caltech.edu> <3A99AED0.5DF07890@infopuls.com> <97cd06$hcn$1@pyrite.mv.net> <97egck$vc6$3@info.cs.uofs.edu> <3A9AEFCD.AFC8431@infopuls.com> <97etsu$j41$1@pyrite.mv.net> <3A9B023A.CBD414A5@infopuls.com> NNTP-Posting-Host: bnh-6-12.mv.com X-Trace: pyrite.mv.net 983328063 19614 199.125.98.76 (28 Feb 2001 02:41:03 GMT) X-Complaints-To: abuse@mv.com NNTP-Posting-Date: 28 Feb 2001 02:41:03 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: supernews.google.com comp.os.vms:20447 comp.sys.dec:2891 Christof Brass wrote in message news:3A9B023A.CBD414A5@infopuls.com... ... > What do you mean with "it's often in a kernel there usually > aren't all that many alternatives"? Are you writing code for an > OS kernel? Yes - e.g., drivers and installable file systems. Why isn't there any alternative and to what? > > Very good point: the language doesn't help anyone from making > certain mistakes or finding certain improvments. But a good > language supports you in accomplishing what you want to do in > shorter time with better quality. Quality is not, as I said, something I have difficulty achieving. And I find having to think, in detail, about what I'm doing contributes to the quality of the result in ways other than just having correct code. This is not a point in favour > of C/C++. > > Talking about competence: There isn't any problem which cannot > be solved better in a language different from C and C++. How about the problem that the rest of the kernel is written in that language and maintained by people primarily familiar with that language? Until you can change that, that's a major C/C++ advantage in *practice*, regardless of whether you believe that *if* that kernel had been written in another language it would be better. Unlike academics, many of us have to deal with things as they are, not as we might wish they were. It gives one a somewhat different slant on the art: one is grateful for things that work, even if they're less than elegant, and appreciates tools that, while they may be dangerous, are also capable of doing whatever job needs to be done if placed in competent hands. A language is just a tool. If it can be used effectively, it doesn't deserve to be called crap, even if some other language might be safer and/or more elegant and/or easier to use. When better languages have replaced C/C++ to the extent that C/C++ have replaced assembler, then it *would* be reasonable to call C/C++ 'verging on obsolete' - or at least too esoteric for common use. Until that time, C/C++ contribute significantly to the industry, and form one cornerstone of the open-source effort you appear to appreciate. - bill