* Re: So what Are we meant to use on the 'desktop' [not found] ` <87n1baae6s.fsf@prep.synonet.com> @ 2001-02-25 17:38 ` Terry C. Shannon 2001-02-25 19:23 ` David Mathog 2001-02-25 19:51 ` VMS wanted list. Was: " Paul Repacholi 0 siblings, 2 replies; 168+ messages in thread From: Terry C. Shannon @ 2001-02-25 17:38 UTC (permalink / raw) "Paul Repacholi" <prep@prep.synonet.com> wrote in message news:87n1baae6s.fsf@prep.synonet.com... <snip> > > - Star Office > Ask Sun. BTW, I have no use for such a package. I came, I installed, I deleted. That said, Compaq has a team of folks working on StarOrifice for OpenVMS as we speak. This is an outside project, e.g. not formally sanctioned and not being done during regular working hours. For those who appreciate ye olde ironic twist, it would do O. Henry proud to see Sun officeware running on an Alpha box when "Strategic Partner" Microsoft shafted DECpaq on the MS-Office on Alpha deal. cheers, Terry "What do you call a Microsoft Business Partner? An ORGAN DONOR!" Shannon ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-25 17:38 ` So what Are we meant to use on the 'desktop' Terry C. Shannon @ 2001-02-25 19:23 ` David Mathog 2001-02-26 1:18 ` Christof Brass 2001-02-26 12:17 ` So what Are we meant to use on the 'desktop' Alan Greig 2001-02-25 19:51 ` VMS wanted list. Was: " Paul Repacholi 1 sibling, 2 replies; 168+ messages in thread From: David Mathog @ 2001-02-25 19:23 UTC (permalink / raw) In article <Zpbm6.11523$CW1.8866923@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> writes: > >"Paul Repacholi" <prep@prep.synonet.com> wrote in message >news:87n1baae6s.fsf@prep.synonet.com... ><snip> >> > - Star Office >> Ask Sun. BTW, I have no use for such a package. > >I came, I installed, I deleted. Me too. >That said, Compaq has a team of folks >working on StarOrifice for OpenVMS as we speak. This is an outside project, >e.g. not formally sanctioned and not being done during regular working >hours. For those who appreciate ye olde ironic twist, it would do O. Henry >proud to see Sun officeware running on an Alpha box when "Strategic Partner" >Microsoft shafted DECpaq on the MS-Office on Alpha deal. Compaq really should buy Corel (asking price is approximately 0 dollars) and use it to provide a software base for the Alpha. If Compaq doesn't spend the money nobody else will either. Last time I used wordperfect it worked a lot better than StarOffice does. Plus some of the programs in Corel's stable are really very good, like CorelDraw. Nothing I tried in StarOffice was anywhere near that quality. They should also pay Opera for a port. I'm not at all sure Mozilla is ever going to arrive... Regards, David Mathog mathog@seqaxp.bio.caltech.edu Manager, sequence analysis facility, biology division, Caltech ************************************************************************** * RIP VMS * ************************************************************************** ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-25 19:23 ` David Mathog @ 2001-02-26 1:18 ` Christof Brass 2001-02-26 1:59 ` Bill Todd 2001-02-26 12:17 ` So what Are we meant to use on the 'desktop' Alan Greig 1 sibling, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-02-26 1:18 UTC (permalink / raw) David Mathog wrote: > > In article <Zpbm6.11523$CW1.8866923@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> writes: > > > >"Paul Repacholi" <prep@prep.synonet.com> wrote in message > >news:87n1baae6s.fsf@prep.synonet.com... > ><snip> > >> > - Star Office > >> Ask Sun. BTW, I have no use for such a package. > > > >I came, I installed, I deleted. > > Me too. > > >That said, Compaq has a team of folks > >working on StarOrifice for OpenVMS as we speak. This is an outside project, > >e.g. not formally sanctioned and not being done during regular working > >hours. For those who appreciate ye olde ironic twist, it would do O. Henry > >proud to see Sun officeware running on an Alpha box when "Strategic Partner" > >Microsoft shafted DECpaq on the MS-Office on Alpha deal. > > Compaq really should buy Corel (asking price is approximately 0 dollars) > and use it to provide a software base for the Alpha. If Compaq doesn't > spend the money nobody else will either. Last time I used wordperfect it > worked a lot better than StarOffice does. Plus some of the programs in > Corel's stable are really very good, like CorelDraw. Nothing I tried in > StarOffice was anywhere near that quality. > > They should also pay Opera for a port. I'm not at all sure Mozilla is ever > going to arrive... > > Regards, > > David Mathog > mathog@seqaxp.bio.caltech.edu > Manager, sequence analysis facility, biology division, Caltech > ************************************************************************** > * RIP VMS * > ************************************************************************** Unfortunately I have to agree. Although StarOffice is a German product it is not worth a penny. The company tried decades to sell their library as a platform portable layer to other people without any success because it was buggy (mostly implemented in the crap C/C++ languages), fat, slow and inconsistent. This has continued in the end product StarOffice. The stupid founder and now multi millionair Borries from Hamburg (the town not the food) quit SUN a few days ago after "managing" the StarOffice development since the takeover by SUN. This stupid guy Borries who is a computer illiterate managed to sell his company/product to Sun after he had an agreement with IBM to bundle StarOffice with one of their products but IBM cancelled this activity before they started selling StarOffice because they bought Lotus which offers much better quality office programs. So the question remains open who is stupider: SUN or Borries? Buying Corel makes very much sense from my point of view. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-26 1:18 ` Christof Brass @ 2001-02-26 1:59 ` Bill Todd 2001-02-26 12:49 ` Larry Kilgallen 0 siblings, 1 reply; 168+ messages in thread From: Bill Todd @ 2001-02-26 1:59 UTC (permalink / raw) Christof Brass <brass@infopuls.com> wrote in message news:3A99AED0.5DF07890@infopuls.com... ... > Unfortunately I have to agree. Although StarOffice is a German > product it is not worth a penny. The company tried decades to > sell their library as a platform portable layer to other people > without any success because it was buggy (mostly implemented in > the crap C/C++ languages), fat, slow and inconsistent. I'm not sure (nor do I much care) what your problem with C/C++ may be, but to suggest that whatever problems StarOffice may have is anything like an inevitable result of using them is bullshit. There are compilers available for them that generate correct code that performs well, and while they may not offer the type safety of some languages, neither does assembler, and you would do well to recall that for at least much of its history (I don't know the situation today) significant portions of VMS were written in assembler (and IIRC significant additional portions are written in C). Lousy software can be written in any language, and good software can be written in most, as long as the writers are competent. - bill ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-26 1:59 ` Bill Todd @ 2001-02-26 12:49 ` Larry Kilgallen 2001-02-26 19:09 ` Rick Cadruvi 0 siblings, 1 reply; 168+ messages in thread From: Larry Kilgallen @ 2001-02-26 12:49 UTC (permalink / raw) In article <97cd06$hcn$1@pyrite.mv.net>, "Bill Todd" <billtodd@foo.mv.com> writes: > > Christof Brass <brass@infopuls.com> wrote in message > news:3A99AED0.5DF07890@infopuls.com... > > ... > >> Unfortunately I have to agree. Although StarOffice is a German >> product it is not worth a penny. The company tried decades to >> sell their library as a platform portable layer to other people >> without any success because it was buggy (mostly implemented in >> the crap C/C++ languages), fat, slow and inconsistent. > > I'm not sure (nor do I much care) what your problem with C/C++ may be, but > to suggest that whatever problems StarOffice may have is anything like an > inevitable result of using them is bullshit. There are compilers available > for them that generate correct code that performs well, and while they may > not offer the type safety of some languages, neither does assembler, and you > would do well to recall that for at least much of its history (I don't know > the situation today) significant portions of VMS were written in assembler > (and IIRC significant additional portions are written in C). > > Lousy software can be written in any language, and good software can be > written in most, as long as the writers are competent. Good software can be written in safe languages as long as the writers are competent. Good software can be written in unsafe languages as long as the writers are superhuman. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-26 12:49 ` Larry Kilgallen @ 2001-02-26 19:09 ` Rick Cadruvi 2001-02-26 20:47 ` Larry Kilgallen 2001-02-26 21:04 ` Bill Gunshannon 0 siblings, 2 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-26 19:09 UTC (permalink / raw) Good software has NOTHING to do with the language being used (well mostly nothing), but EVERYTHING to do with the programmer and the design. Bad software is usually a function of either incompetence on the programmer's part or a failure to understand the implications of a certain design approach used. I am just amazed at how many bad programmers want to blame their bad software on the programming language and NOT themselves. I guess it is just a sign of the societal times where no one is responsible for their own actions. just my opinion, Rick Cadruvi... "Larry Kilgallen" <Kilgallen@eisner.decus.org.nospam> wrote in message news:VIewiO8f8Lke@eisner.encompasserve.org... > In article <97cd06$hcn$1@pyrite.mv.net>, "Bill Todd" <billtodd@foo.mv.com> writes: > > > > Christof Brass <brass@infopuls.com> wrote in message > > news:3A99AED0.5DF07890@infopuls.com... > > > > ... > > > >> Unfortunately I have to agree. Although StarOffice is a German > >> product it is not worth a penny. The company tried decades to > >> sell their library as a platform portable layer to other people > >> without any success because it was buggy (mostly implemented in > >> the crap C/C++ languages), fat, slow and inconsistent. > > > > I'm not sure (nor do I much care) what your problem with C/C++ may be, but > > to suggest that whatever problems StarOffice may have is anything like an > > inevitable result of using them is bullshit. There are compilers available > > for them that generate correct code that performs well, and while they may > > not offer the type safety of some languages, neither does assembler, and you > > would do well to recall that for at least much of its history (I don't know > > the situation today) significant portions of VMS were written in assembler > > (and IIRC significant additional portions are written in C). > > > > Lousy software can be written in any language, and good software can be > > written in most, as long as the writers are competent. > > Good software can be written in safe languages as long as the writers are > competent. Good software can be written in unsafe languages as long as > the writers are superhuman. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-26 19:09 ` Rick Cadruvi @ 2001-02-26 20:47 ` Larry Kilgallen 2001-02-26 21:04 ` Bill Gunshannon 1 sibling, 0 replies; 168+ messages in thread From: Larry Kilgallen @ 2001-02-26 20:47 UTC (permalink / raw) In article <SRxm6.420$be1.154097@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > I am just amazed at how many bad programmers want to blame their bad > software on the > programming language and NOT themselves. I guess it is just a sign of the > societal times > where no one is responsible for their own actions. I have not noticed that. I have noticed people (including myself) willing to blame _other_ people's bad software at least partially on their choice of language. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-26 19:09 ` Rick Cadruvi 2001-02-26 20:47 ` Larry Kilgallen @ 2001-02-26 21:04 ` Bill Gunshannon 2001-02-27 0:07 ` Christof Brass 1 sibling, 1 reply; 168+ messages in thread From: Bill Gunshannon @ 2001-02-26 21:04 UTC (permalink / raw) In article <SRxm6.420$be1.154097@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: |> Good software has NOTHING to do with the language being used (well mostly |> nothing), |> but EVERYTHING to do with the programmer and the design. |> |> Bad software is usually a function of either incompetence on the |> programmer's part |> or a failure to understand the implications of a certain design approach |> used. |> |> I am just amazed at how many bad programmers want to blame their bad |> software on the |> programming language and NOT themselves. I guess it is just a sign of the |> societal times |> where no one is responsible for their own actions. No, it's nothing new. Surely you've heard the proverb: "It's a poor craftsmen who blames his tools." That one's a lot older than I am. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-26 21:04 ` Bill Gunshannon @ 2001-02-27 0:07 ` Christof Brass 2001-02-27 1:00 ` Bill Todd 0 siblings, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-02-27 0:07 UTC (permalink / raw) Date: Sun, 25 Feb 2001 20:59:50 -0500 From: "Bill Todd" <billtodd@foo.mv.com> Christof Brass <brass@infopuls.com> wrote in message news:3A99AED0.5DF07890@infopuls.com... ... > Unfortunately I have to agree. Although StarOffice is a German > product it is not worth a penny. The company tried decades to > sell their library as a platform portable layer to other people > without any success because it was buggy (mostly implemented in > the crap C/C++ languages), fat, slow and inconsistent. I'm not sure (nor do I much care) what your problem with C/C++ may be, but to suggest that whatever problems StarOffice may have is anything like an inevitable result of using them is bullshit. There are compilers available for them that generate correct code that performs well, and while they may not offer the type safety of some languages, neither does assembler, and you would do well to recall that for at least much of its history (I don't know the situation today) significant portions of VMS were written in assembler (and IIRC significant additional portions are written in C). Lousy software can be written in any language, and good software can be written in most, as long as the writers are competent. - bill Date: 26 Feb 2001 07:49:55 -0500 From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Good software can be written in safe languages as long as the writers are competent. Good software can be written in unsafe languages as long as the writers are superhuman. Bill Gunshannon wrote: > > In article <SRxm6.420$be1.154097@paloalto-snr1.gtei.net>, > "Rick Cadruvi" <rick@rdperf.com> writes: > |> Good software has NOTHING to do with the language being used (well mostly > |> nothing), > |> but EVERYTHING to do with the programmer and the design. > |> > |> Bad software is usually a function of either incompetence on the > |> programmer's part > |> or a failure to understand the implications of a certain design approach > |> used. > |> > |> I am just amazed at how many bad programmers want to blame their bad > |> software on the > |> programming language and NOT themselves. I guess it is just a sign of the > |> societal times > |> where no one is responsible for their own actions. > > No, it's nothing new. Surely you've heard the proverb: > "It's a poor craftsmen who blames his tools." > > That one's a lot older than I am. > > bill > > -- > Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves > bill@cs.scranton.edu | and a sheep voting on what's for dinner. > University of Scranton | > Scranton, Pennsylvania | #include <std.disclaimer.h> Great NG, great contributors, changeing alliances, open discussions. C/C++ is *bullshit*. Who does not accept this is either uneducated or stupid. Both conditions exclude any reasonable exchange of thoughts. While the observation is correct that it is possible to use bad, outdated, rotten languages like C/C++ to write good software (if you are Superman) the time you need is the problem. There are different levels of different dimensions of quality aspects. For an OS the quality has to be high wrt bugs and speed. To write an OS in assembly language you'll need a lot of time. I assume that for VMS the implementation languages have been selected carefully to reflect the balance between speed of execution and speed of development. I assume this was the compromise - not wrt the bugs. For an office program the bugs are more annoying than the lack of speed - "cum grano salis" as the Latin would say or better would have said. To select C/C++ to implement anything useful is very, very stupid because of the problems of the language which aren't solved so far wrt compiler construction and standardisation: there are no compilers available which come close to implement the whole language definitions (both C and C++) in an almost bug free and standardised way. Standardisation of language features implementation is generally missing. This is the reason why it's necessary to talk about language specification and language feature implementation seperately. There aren't enough people around to use these tools in a reasonable way. Too many projects failed because of using these languages. You can drive a Rolls-Royce to death and it's your fault. But using a pair of crutches while the others outran you driving fast vehicles is frustrating. Don't do that. While it's true that you can use good tools to write bad SW StarOffice is an example of using bad tools *and* writing bad SW. I think we all agree that StarOffice isn't an option. From what I heard Corel's SW *is* one. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-27 0:07 ` Christof Brass @ 2001-02-27 1:00 ` Bill Todd 2001-02-27 1:26 ` Drop C/C++ better sooner than later Christof Brass 0 siblings, 1 reply; 168+ messages in thread From: Bill Todd @ 2001-02-27 1:00 UTC (permalink / raw) Christof Brass <brass@infopuls.com> wrote in message news:3A9AEFCD.AFC8431@infopuls.com... ... > C/C++ is *bullshit*. Who does not accept this is either > uneducated or stupid. Both conditions exclude any reasonable > exchange of thoughts. What a coincidence: *I* consider people uneducated or stupid who mistake their prejudices for fact. > > While the observation is correct that it is possible to use bad, > outdated, rotten languages like C/C++ to write good software (if > you are Superman) the time you need is the problem. I guess that was a compliment: I write very-low-bug-rate code in C/C++, just as I used to in assembler, and since it's often in a kernel there usually aren't all that many alternatives. And whatever extra time it may take pays for itself in quality: I invariably improve algorithms and find a few semantic bugs (the kind that *no* language will help you with) in the process of organizing the code before I even try to compile it. It might be a bit excessive to characterize people who depend on support from the language for quality as 'GUI-style' programmers, but perhaps not all that much. That's what I meant by 'competence'; perhaps you're not acquainted with the concept. - bill ^ permalink raw reply [flat|nested] 168+ messages in thread
* Drop C/C++ better sooner than later 2001-02-27 1:00 ` Bill Todd @ 2001-02-27 1:26 ` Christof Brass 2001-02-27 2:47 ` Rick Cadruvi ` (7 more replies) 0 siblings, 8 replies; 168+ messages in thread From: Christof Brass @ 2001-02-27 1:26 UTC (permalink / raw) Bill Todd wrote: > > Christof Brass <brass@infopuls.com> wrote in message > news:3A9AEFCD.AFC8431@infopuls.com... > > ... > > > C/C++ is *bullshit*. Who does not accept this is either > > uneducated or stupid. Both conditions exclude any reasonable > > exchange of thoughts. > > What a coincidence: *I* consider people uneducated or stupid who mistake > their prejudices for fact. prejudices??? postjudices!!! I had many discussions with C/C++ programmers and normally they end up with discovering that they don't know that basics about PL design and even worse they don't know a bunch of modern languages. They think time has stood still for 30 years in the area of SW engineering. Could it be possible? > > > > > While the observation is correct that it is possible to use bad, > > outdated, rotten languages like C/C++ to write good software (if > > you are Superman) the time you need is the problem. > > I guess that was a compliment: I write very-low-bug-rate code in C/C++, > just as I used to in assembler, and since it's often in a kernel there > usually aren't all that many alternatives. And whatever extra time it may > take pays for itself in quality: I invariably improve algorithms and find a > few semantic bugs (the kind that *no* language will help you with) in the > process of organizing the code before I even try to compile it. > > It might be a bit excessive to characterize people who depend on support > from the language for quality as 'GUI-style' programmers, but perhaps not > all that much. That's what I meant by 'competence'; perhaps you're not > acquainted with the concept. > > - bill An often encountered mistake of logic. Using better tools/languages improves even your efficiency of work! The fact that you are able to do the impossible (Tom Cruise, eh?!) doesn't mean you can't do miracles if you drop your rotten C/C++ and replace it by something valuable. 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? 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. 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++. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-27 1:26 ` Drop C/C++ better sooner than later Christof Brass @ 2001-02-27 2:47 ` Rick Cadruvi 2001-02-27 3:59 ` JF Mezei [not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <wrCvgGxaSLv9@eisner.encompasserve.org> ` (6 subsequent siblings) 7 siblings, 1 reply; 168+ messages in thread From: Rick Cadruvi @ 2001-02-27 2:47 UTC (permalink / raw) I find this an interesting discussion. It would be useful if you would suggest a more modern language (or series of them) that you think is superior to developing software in C/C++. No language is perfect. There are many good and bad points in C. I write LOTs of useful software in C and I have designed and written other languages. I do think your comments are based on your prejudices not reality. C works fine if you write simply contructed code. For lots of different types of development there are lots of different and perhaps better choices. It would be useful to hear your choices for different types of software development. Make a list and specify what the newer language works better for in terms of areas of software development. Just my opinion, Rick Cadruvi "Christof Brass" <brass@infopuls.com> wrote in message news:3A9B023A.CBD414A5@infopuls.com... > Bill Todd wrote: > > > > Christof Brass <brass@infopuls.com> wrote in message > > news:3A9AEFCD.AFC8431@infopuls.com... > > > > ... > > > > > C/C++ is *bullshit*. Who does not accept this is either > > > uneducated or stupid. Both conditions exclude any reasonable > > > exchange of thoughts. > > > > What a coincidence: *I* consider people uneducated or stupid who mistake > > their prejudices for fact. > > prejudices??? > postjudices!!! > I had many discussions with C/C++ programmers and normally they > end up with discovering that they don't know that basics about > PL design and even worse they don't know a bunch of modern > languages. They think time has stood still for 30 years in the > area of SW engineering. Could it be possible? > > > > > > > > > While the observation is correct that it is possible to use bad, > > > outdated, rotten languages like C/C++ to write good software (if > > > you are Superman) the time you need is the problem. > > > > I guess that was a compliment: I write very-low-bug-rate code in C/C++, > > just as I used to in assembler, and since it's often in a kernel there > > usually aren't all that many alternatives. And whatever extra time it may > > take pays for itself in quality: I invariably improve algorithms and find a > > few semantic bugs (the kind that *no* language will help you with) in the > > process of organizing the code before I even try to compile it. > > > > It might be a bit excessive to characterize people who depend on support > > from the language for quality as 'GUI-style' programmers, but perhaps not > > all that much. That's what I meant by 'competence'; perhaps you're not > > acquainted with the concept. > > > > - bill > > An often encountered mistake of logic. Using better > tools/languages improves even your efficiency of work! The fact > that you are able to do the impossible (Tom Cruise, eh?!) > doesn't mean you can't do miracles if you drop your rotten C/C++ > and replace it by something valuable. > > 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? 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. 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++. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-27 2:47 ` Rick Cadruvi @ 2001-02-27 3:59 ` JF Mezei 0 siblings, 0 replies; 168+ messages in thread From: JF Mezei @ 2001-02-27 3:59 UTC (permalink / raw) re: C is no good. I think that C and C++ are getting a bad rap because that is the language used by inexperienced PC weanies who are asked to write serious software. I've had discussions with C++ programmers on a different platform who swore that because the hardware was designed for C++, that it was impossible to use C to program and use system services on that platform since C was unable to access the object oriented hardware of that platform :-). They obviously had no concept of what compilers are nor the concept of what assembler/machine language is. Should you blame C++ or the inexpereinced programmers for such misunderstanding ? If a programmer has never programmed on a multi tasking system and is used to constantly polling the serial port to see if a a character has arrived, should you expect him to be able to program on a real multi tasking machine in any language ? ^ permalink raw reply [flat|nested] 168+ messages in thread
[parent not found: <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <wrCvgGxaSLv9@eisner.encompasserve.org>]
* Re: Drop C/C++ better sooner than later [not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <wrCvgGxaSLv9@eisner.encompasserve.org> @ 2001-02-27 21:13 ` Rick Cadruvi 2001-02-27 22:34 ` Christof Brass 2001-02-28 12:39 ` Bill Gunshannon 0 siblings, 2 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-27 21:13 UTC (permalink / raw) And I thought ADA was dead. Silly me. Not a language I would choose, but obviously some people must like it. I find it telling that DOD no longer requires it for contracts. Just my opinion, Rick Cadruvi... "Larry Kilgallen" <Kilgallen@eisner.decus.org.nospam> wrote in message news:wrCvgGxaSLv9@eisner.encompasserve.org... > In article <XyEm6.896$be1.355692@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > > I find this an interesting discussion. It would be useful if you would > > suggest > > a more modern language (or series of them) that you think is superior to > > developing software in C/C++. > > Ada. > > Currently that means Ada95, but even the older Ada83 standard used by > Compaq Ada does pretty well. The major different (if one avoids any > discussions of object oriented programming) is that the extensions DEC > added to Ada83 are often not necessary in Ada95 since there are standard > mechanisms to do the same thing (making them portable). ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-27 21:13 ` Rick Cadruvi @ 2001-02-27 22:34 ` Christof Brass 2001-02-28 1:36 ` Rick Cadruvi 2001-02-28 12:39 ` Bill Gunshannon 1 sibling, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-02-27 22:34 UTC (permalink / raw) Rick Cadruvi wrote: > I find this an interesting discussion. It would be useful if you would > suggest a more modern language (or series of them) that you think is > superior to developing software in C/C++. > No language is perfect. There are many good and bad points in C. > I write LOTs of useful software in C and I have designed and written > other languages. I do think your comments are based on your > prejudices not reality. > C works fine if you write simply contructed code. For lots of different > types of development there are lots of different and perhaps better choices. > It would be useful to hear your choices for different types of software > development. Make a list and specify what the newer language works better > for in terms of areas of software development. > And I thought ADA was dead. Silly me. Not a language I would choose, but > obviously some people must like it. I find it telling that DOD no longer > requires it for contracts. > > Just my opinion, > > Rick Cadruvi... > > "Larry Kilgallen" <Kilgallen@eisner.decus.org.nospam> wrote in message > news:wrCvgGxaSLv9@eisner.encompasserve.org... > > In article <XyEm6.896$be1.355692@paloalto-snr1.gtei.net>, "Rick Cadruvi" > <rick@rdperf.com> writes: > > > I find this an interesting discussion. It would be useful if you would > > > suggest > > > a more modern language (or series of them) that you think is superior to > > > developing software in C/C++. > > > > Ada. > > > > Currently that means Ada95, but even the older Ada83 standard used by > > Compaq Ada does pretty well. The major different (if one avoids any > > discussions of object oriented programming) is that the extensions DEC > > added to Ada83 are often not necessary in Ada95 since there are standard > > mechanisms to do the same thing (making them portable). JF Mezei wrote: > re: C is no good. > I think that C and C++ are getting a bad rap because that is the language used > by inexperienced PC weanies who are asked to write serious software. > I've had discussions with C++ programmers on a different platform who swore > that because the hardware was designed for C++, that it was impossible to use > C to program and use system services on that platform since C was unable to > access the object oriented hardware of that platform :-). They obviously had > no concept of what compilers are nor the concept of what assembler/machine > language is. > Should you blame C++ or the inexpereinced programmers for such > misunderstanding ? > If a programmer has never programmed on a multi tasking system and is used to > constantly polling the serial port to see if a a character has arrived, should > you expect him to be able to program on a real multi tasking machine in any > language ? I'm too late. Ada won against C in a several years lasting comparison within the same company. The comparison was based on scrutiny and analysis of the results. I'm not a friend of Ada but I think the language is pretty okay although they made some design mistakes. To state a few things about logic of discussion: - To show projects that failed or bad practices of inexperienced programmers is no proof against any PL because it is impossible to prevend abusing it. - Even if my comments were only based on prejudice stating this is no point (and the question remains where this prejudice comes from). - A PL is always a compromise between power and complexity. Their might be people who can write RISC assembly language but this is not the audience for a multipurpose PL. My target is the high quality, well educated, responsible programmer. I don't think it is a good idea to come up with a list of requirements and matching PLs because this will lead the discussion quickly to certain aspects of these PLs instead of talking about the big picture which is from my point of view: can it be possible that something created in the early days of our quick evolving area is still the best tool around?? Is C the wheel of PL science and practice? Is flying impossible? Is there a more appropriate NG for discussing different PLs? I dare to continue within this NG because there have several completely unrelated threads but I would like to move to a better fitting NG. Any suggestions? ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-27 22:34 ` Christof Brass @ 2001-02-28 1:36 ` Rick Cadruvi 2001-02-28 13:48 ` LJEB ` (5 more replies) 0 siblings, 6 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-28 1:36 UTC (permalink / raw) "Christof Brass" <brass@infopuls.com> wrote in message news:3A9C2B88.8032D829@infopuls.com... > I don't think it is a good idea to come up with a list of > requirements and matching PLs because this will lead the > discussion quickly to certain aspects of these PLs instead of > talking about the big picture which is from my point of view: > can it be possible that something created in the early days of > our quick evolving area is still the best tool around?? Is C the > wheel of PL science and practice? Is flying impossible? I disagree. You stated that using C/C++ was stupid (or something to that affect) and that you couldn't write good code in it. Therefore. naming other languages and their appropriate use is necessary for the discussion. Since you won't suggest alternatives, you clearly demonstrate an anti C/C++ bias that must be more emotionally based than fact based. I haven't even heard your objections to C/C++ except their age. Believe me, I am NOT a defender of C. There are many things I HATE about C. Here's 4 of them: 1. Case Sensitivity. I am use to it, but I think it is a BIG problem. tmp, TMP, Tmp, tMp, tmP, TMp, tMP should NOT refer to different things. 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able to fall through to the next CASE in a SWITCH statement. The default should be BREAK and allow specifying CONTINUE if you want to drop through. THIS IS A BIG PROBLEM!!! 3. BREAK. Break should be allowed from ALL Begin/End ({}) constructs (including IF ELSE). You should also be able to BREAK # where # is the number of Begin/End blocks you want to break out of. 4. Use of "==" for compares. It's WAY too easy to put in "=" instead. In fact, I usually do a specialized search of ALL my code before the first compile just to try and catch these. However, C is currently one of the most practical development languages because you have a large pool of people who know it and can be brought in to a project to work on it. This is VERY important in commercially viable software. Also, it is portable if the programmer isn't too careless. You always have to assume your code will need to run on another platform/OS. My ideal language would probably be mostly a combination of BLISS and C. However, I do mostly tools and System programming. Therefore, I am not probably the best sample case for what makes a good programming language. However, I have done just about every kind of programming from Accounting packages, to OS code to embedded systems to realtime. One thing I don't want is a language to get in the way. A lot of newer languages are designed to prevent programmers for doing things to keep them from making mistakes. I understand this logic, but what you have is an effort to over compensate because programmers were never taught to program well and they write BAD code. In order for a language to be useable, they invariably provide some "backdoor" that allows you to do the things you really want to do. As a result, those "backdoors" get abused. Along comes someone else who says they have to do something new that removes that "backdoor". As more code is written in the new language, it becomes clear that new "backdoors" have to be implemented because the language is preventing complex things from being done or at least is making them so difficult that they take too long. This was always my problem with ADA. Time to implement a project is VERY important. It's one of the BAD things with C/C++ in terms of applications development. Progrmaming Languages are just part of the tool set programmers use to solve problems. What we really do is we solve problems. The code writing is merely a clerical function through which we express those solutions. Sure we should use better tools when they are there. However, better programming languages will NEVER be a substitute for writing GOOD code. The real problem we need to solve is making sure programmers learn how to write code well to start with. That is NOT being taught in Universities. My own son is majoring in computer engineering and his professors DON'T have a clue how to write GOOD code. I am teaching him that and he is juggling writing GOOD code with the CRAP the professors want. Hopefully he will learn from both and get the grades he wants and still be able to write GOOD code when he finally goes to work for someone. However, his manager there won't have a clue either and will insist he write BAD code because he doesn't know how to write GOOD code and can't understand the benefits. How many times do you still hear programmers justify the requirement that all routines exit at the bottom, or insist it is more efficient to write fewer large routines than many small routines to save a few routine calls. As long as this ignorance persists, all the GREAT new programming languages won't solve the problem. When I even thing about using a ELSE statement, I force myself to justify it's use. Most programmers think using ELSEs is really great and liberally do nested IF then ELSEs. Teach programmers to write code well, and new progrmaming languages will evolve that help us solve the problems better and not ones that prevent us from doing things we shouldn't do in the first place unless they are REALLY required. just my opinions, Rick Cadruvi... ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 1:36 ` Rick Cadruvi @ 2001-02-28 13:48 ` LJEB 2001-02-28 16:28 ` Rick Cadruvi 2001-02-28 14:22 ` Bill Gunshannon ` (4 subsequent siblings) 5 siblings, 1 reply; 168+ messages in thread From: LJEB @ 2001-02-28 13:48 UTC (permalink / raw) Just sticking my 2c in on a few things here late in the thread... > > Believe me, I am NOT a defender of C. There are many things I HATE > about C. Here's 4 of them: > > 1. Case Sensitivity. I am use to it, but I think it is a BIG > problem. tmp, TMP, Tmp, tMp, tmP, TMp, tMP should NOT refer > to different things. In a programming language I don't find this problem, then again having simple coding standards which prohibit doing this helps. On the other hand having a file system that does this (and worse) is hell. > > 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able > to fall through to the next CASE in a SWITCH statement. The > default should be BREAK and allow specifying CONTINUE if you > want to drop through. THIS IS A BIG PROBLEM!!! I would have to say NO! I use this feature from time to time, and when needed it can very useful, and saves unnecessary tests and duplicated code. Apart from that I think that I cannot remember when a missing "break" caused me any problems the last time, it was so long ago. Also "continue" has a completely defined and simple function. > > 3. BREAK. Break should be allowed from ALL Begin/End ({}) > constructs (including IF ELSE). You should also be able to > BREAK # where # is the number of Begin/End blocks you want > to break out of. Sorry but this is about the most horrible suggestion for any language I have ever seen. Next you'll suggest that a computed goto's like in Fortran would be nice. This would be event worse than using goto in you code (goto is completely band by our C/C++ coding standards), this would make maintaining code hell, every little modification to a module a hazard, causing untold problems if just one break# was missed and not updated. Simply speaking if your code is that complex try splitting it into separate functions, and check your logic. > > 4. Use of "==" for compares. It's WAY too easy to put in "=" > instead. In fact, I usually do a specialized search of ALL > my code before the first compile just to try and catch these. > I used to make that mistake when I first started in C (about 15 years ago), but I soon got over it. Yes this occationally stoll happens, but usually the effect is quite obviouse within the first hour or so of testing. Also many modern compilers do warn of this at compilation time now, so the problem is not like it was. I have been writing in C and more recently some C++ for about 15 years, and I will admit that I have seen some awful code written in both languages. The problem with bad code, which is difficult to follow, overly complicated, not commented, and just down right sloppy, has almost nothing to do the language in my view. I have also seen terrible code written in Fortran, Basic, Java and others, the problem is poorly skilled programmers or programmers who just don't care. You can always say that in one language something could be done simpler (usually simpler for the developer not the machine), but that will always be the case. Programming languages are like any other tool you use, be it a paint brush, screwdriver, saw, or club hammer. In the hands of someone who understands how to use them they can create almost anything, in the hands of a novice they usually make a mess. Laurence Blunt. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 13:48 ` LJEB @ 2001-02-28 16:28 ` Rick Cadruvi 2001-03-01 11:54 ` LJEB 0 siblings, 1 reply; 168+ messages in thread From: Rick Cadruvi @ 2001-02-28 16:28 UTC (permalink / raw) > > 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able > > to fall through to the next CASE in a SWITCH statement. The > > default should be BREAK and allow specifying CONTINUE if you > > want to drop through. THIS IS A BIG PROBLEM!!! > > I would have to say NO! > > I use this feature from time to time, and when needed it can very useful, > and saves unnecessary tests and duplicated code. Apart from that I think > that I cannot remember when a missing "break" caused me any problems the > last time, it was so long ago. > > Also "continue" has a completely defined and simple function. > BREAK could be defined to only deal with loops too, but it is used in SWITCH/CASE. There is no reason CONTINUE couldn't be used as well. My point is only that the NORMAL use is to BREAK after a case rather than dropping down. The default should always be the normal usage, not the exception in my view. > > > > 3. BREAK. Break should be allowed from ALL Begin/End ({}) > > constructs (including IF ELSE). You should also be able to > > BREAK # where # is the number of Begin/End blocks you want > > to break out of. > > Sorry but this is about the most horrible suggestion for any language I have > ever seen. The thing a language should do is provide the tools to make the code as simple as possible. Many times you get inside of something and you really want to get out of multiple levels. If the point is that the BREAK # has to be a constant number rather than a variable, I agree entirely. However, setting and testing flags to exit levels makes for more code and makes bugs more likely. The real problem is not when you are writing the code, but when someone else comes along to maintain the code and misses the flags. Here's an example: for (i = 0, i < 10; i++) { if (condition[i] == TRUE) { for (j = 0; j < 5; j++) { if (stuff[j] == FALSE) break 3 // Get me out } } } I know the example is simplistic, but if expanded into more involved code, the value of the contruct becomes more clear. The truth is that I would probably have made the inner loop a function call and the problem goes away. What I am saying is that occasionally, I would like to be able to leave more than a single BEGIN/END. Also, I would like to be able to leave an IF or ELSE BEGIN/END early sometimes to simplify the code. > > Next you'll suggest that a computed goto's like in Fortran would be nice. > This would be event worse than using goto in you code (goto is completely > band by our C/C++ coding standards), this would make maintaining code hell, > every little modification to a module a hazard, causing untold problems if > just one break# was missed and not updated. > > Simply speaking if your code is that complex try splitting it into separate > functions, and check your logic. Agreed. Absolutely right. No I wouldn't want computed GOTOs > > > > > 4. Use of "==" for compares. It's WAY too easy to put in "=" > > instead. In fact, I usually do a specialized search of ALL > > my code before the first compile just to try and catch these. > > > > I used to make that mistake when I first started in C (about 15 years ago), > but I soon got over it. Yes this occationally stoll happens, but usually the > effect is quite obviouse within the first hour or so of testing. Also many > modern compilers do warn of this at compilation time now, so the problem is > not like it was. I still slip once in awhile and I have as many C years under my belt as you. Maybe my brain just locks up once in awhile. I have noticed my fingers get dylexsia once in awhile, perhaps my brain does also. My point is only that it was a BAD choice of operators in my opinion that has the poitential of causing bugs. > > I have been writing in C and more recently some C++ for about 15 years, and > I will admit that I have seen some awful code written in both languages. The > problem with bad code, which is difficult to follow, overly complicated, not > commented, and just down right sloppy, has almost nothing to do the language > in my view. > Absolutely correct. This is actually the starting point of the whole discussion thread. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 16:28 ` Rick Cadruvi @ 2001-03-01 11:54 ` LJEB 0 siblings, 0 replies; 168+ messages in thread From: LJEB @ 2001-03-01 11:54 UTC (permalink / raw) "Rick Cadruvi" <rick@rdperf.com> wrote in message news:97j900$ppc@dispatch.concentric.net... > > > 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able > > > to fall through to the next CASE in a SWITCH statement. The > > > default should be BREAK and allow specifying CONTINUE if you > > > want to drop through. THIS IS A BIG PROBLEM!!! > > > > I would have to say NO! > > > > I use this feature from time to time, and when needed it can very useful, > > and saves unnecessary tests and duplicated code. Apart from that I think > > that I cannot remember when a missing "break" caused me any problems the > > last time, it was so long ago. > > > > Also "continue" has a completely defined and simple function. > > > BREAK could be defined to only deal with loops too, but it is used in > SWITCH/CASE. There is no reason CONTINUE couldn't be used > as well. My point is only that the NORMAL use is to BREAK after > a case rather than dropping down. The default should always be the > normal usage, not the exception in my view. > I understand what you are getting at here, and to some degree, I agree. For instance when I use this fall through I nearly always have a comment with: /* DON'T BREAK HERE */ So the next programmer knows for certain that I want to carry on, and that it was not an omission. It is likely that my use of C has something to do with my outlook, a lot of work that I do is handling and decoding data feeds (e.g.: processing data received from stock exchanges). Just like the washing machine example posted here, there are often places where you need to select a start point, and then continue until the end or an exception it found. Also I use the following a lot: switch( value ) { case value_a: case value_b: case value_c: case value_d: /* common code for this set of values */ break; case value_e: case value_f: /* common code for this set of values */ break; default: break; } For me having to remember to add all the appropriate CONTINUE statements is just as bad as you see the opposite view. > > > > > > 3. BREAK. Break should be allowed from ALL Begin/End ({}) > > > constructs (including IF ELSE). You should also be able to > > > BREAK # where # is the number of Begin/End blocks you want > > > to break out of. > > > > Sorry but this is about the most horrible suggestion for any language I > have > > ever seen. > > The thing a language should do is provide the tools to make the code as > simple > as possible. Many times you get inside of something and you really want to > get > out of multiple levels. If the point is that the BREAK # has to be a > constant > number rather than a variable, I agree entirely. However, setting and > testing > flags to exit levels makes for more code and makes bugs more likely. The > real problem is not when you are writing the code, but when someone else > comes along to maintain the code and misses the flags. Here's an example: > > for (i = 0, i < 10; i++) > { if( other_condition ) { /* see trailing comment */ > if (condition[i] == TRUE) > { > for (j = 0; j < 5; j++) > { > if (stuff[j] == FALSE) break 3 // Get me out > } > } } /* it become too easy to break with a simple additions */ > } > > I know the example is simplistic, but if expanded into more involved > code, the value of the contruct becomes more clear. The truth is that > I would probably have made the inner loop a function call and the problem > goes away. What I am saying is that occasionally, I would like to be > able to leave more than a single BEGIN/END. Also, I would like to > be able to leave an IF or ELSE BEGIN/END early sometimes to simplify > the code. As you said, normally you put this inner loop into a function. The fact that you cannot do the break# thing, in my view actually forces the programmer to write code that is easier to maintain. As many of the faults you and other see with this language are that they let programmers write code that is difficult to maintain, this addition would just give your novice another way to write horrible code. Adding something that you might occasionally us, would not stop it from being abused to a point that it would soon be regarded as something that should never have been there. Personally I think that GOTO should just be removed from the language (or at least make compilers complain about it use). I have not even wanted to use all the time I have written in C/C++, and the only times I have seen it used was because a routine was just too big (ie: should have been broken down into proper functional units). Laurence. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 1:36 ` Rick Cadruvi 2001-02-28 13:48 ` LJEB @ 2001-02-28 14:22 ` Bill Gunshannon 2001-02-28 14:33 ` John Reagan ` (2 more replies) 2001-02-28 15:03 ` Per Schr�der ` (3 subsequent siblings) 5 siblings, 3 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-02-28 14:22 UTC (permalink / raw) In article <cCYm6.1296$CP4.299029@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: |> |> |> Believe me, I am NOT a defender of C. There are many things I HATE |> about C. Here's 4 of them: |> |> 1. Case Sensitivity. I am use to it, but I think it is a BIG |> problem. tmp, TMP, Tmp, tMp, tmP, TMp, tMP should NOT refer |> to different things. Of course they should. because they are all different things. They are all words spelled differently. If you don't want variable names like that use programming standards. Don't hamstring the language to solve a social problem. |> |> 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able |> to fall through to the next CASE in a SWITCH statement. The |> default should be BREAK and allow specifying CONTINUE if you |> want to drop through. THIS IS A BIG PROBLEM!!! Even as far back as Fortran I learned as a programmer that implicit anything was a bad idea. Never assume, always code explicitly. I think the same applies here. Maybe the language would be safer if the behavior changed, but the behavior of the language is documented and the programmer should take that into account. |> |> 3. BREAK. Break should be allowed from ALL Begin/End ({}) |> constructs (including IF ELSE). You should also be able to |> BREAK # where # is the number of Begin/End blocks you want |> to break out of. Sounds like you want GOTO back. I thought Dyjkstra convinced everyone that was a bad idea?? ;-) |> |> 4. Use of "==" for compares. It's WAY too easy to put in "=" |> instead. In fact, I usually do a specialized search of ALL |> my code before the first compile just to try and catch these. Well, you need two symbols for "equals", comparison and assignment. That is what the "=" means. Anything else would be non-intuitve. Question: What does ":" have to do with equality?? And yes, when we used to use Pascal as our beginning language here one of the most common coding errors was leaving out those pesky ":". Using double "=" for comparison is very intuitve when you consider that every other comparison that involves equality consists of a digraph with at least one "=". (ie. ">=", "<=", "!=") |> |> My ideal language would probably be mostly a combination of BLISS and C. There is no such thing as "the ideal language". Ada was an attempt to create (by committee no less!) a language that could be used for everything. The result is a bloated monster that requires so much in resources that it was never practical for small machines (and even some large ones like PDP-11's). Most languages were created to fill a discovered need at the time of their creation. A big part of Systems Analysis is identifying the problem accurately and then picking the right tool for the job. Everything is not a nail so you need more in your toolbox than a hammer. |> |> One thing I don't want is a language to get in the way. A lot of newer |> languages are |> designed to prevent programmers for doing things to keep them from making |> mistakes. |> I understand this logic, but what you have is an effort to over compensate |> because |> programmers were never taught to program well and they write BAD code. |> |> In order for a language to be useable, they invariably provide some |> "backdoor" |> that allows you to do the things you really want to do. As a result, those |> "backdoors" get abused. Along comes someone else who says they have to |> do something new that removes that "backdoor". As more code is written in |> the |> new language, it becomes clear that new "backdoors" have to be implemented |> because the language is preventing complex things from being done or at |> least |> is making them so difficult that they take too long. This was always my |> problem |> with ADA. Now I'm confused. What you say above is in complete agreement with what I have said, as well. Especially in the case of Ada. |> Time to implement a project is VERY important. It's one of the |> BAD |> things with C/C++ in terms of applications development. This I don't agree with. In most cases, the actual coding is the smallest part of the project. (at least well designed projects) It takes no longer for an experienced C programmer to code a task in C than it would take an experienced Ada programmer to do it in Ada. And believe it or not, regardless of the language used, programmers of the same level of experience will make an equivalent number of mistakes. It isn't the language that makes the mistakes. |> |> Progrmaming Languages are just part of the tool set programmers use to solve |> problems. What we really do is we solve problems. The code writing is |> merely |> a clerical function through which we express those solutions. True. All the best. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 14:22 ` Bill Gunshannon @ 2001-02-28 14:33 ` John Reagan 2001-02-28 15:19 ` Jan Vorbrueggen 2001-02-28 16:42 ` Rick Cadruvi 2001-02-28 14:58 ` Robert Deininger 2001-03-01 3:33 ` Christof Brass 2 siblings, 2 replies; 168+ messages in thread From: John Reagan @ 2001-02-28 14:33 UTC (permalink / raw) Bill Gunshannon wrote: > > In article <cCYm6.1296$CP4.299029@paloalto-snr1.gtei.net>, > "Rick Cadruvi" <rick@rdperf.com> writes: > |> > |> 3. BREAK. Break should be allowed from ALL Begin/End ({}) > |> constructs (including IF ELSE). You should also be able to > |> BREAK # where # is the number of Begin/End blocks you want > |> to break out of. > > Sounds like you want GOTO back. I thought Dyjkstra convinced everyone > that was a bad idea?? ;-) Not quite. GOTOs can go backwards as well as forwards making a mess out of the program's flow. BREAKs can only go forward. Dyjkstra was commenting on certain abuses of GOTO. However, even with just going forward, I don't like BREAK since the reader of the code doesn't know where the BREAK will go. Sure, you can look and 'guess', but only the compiler knows for sure. And adding another level of BEGIN/END makes you go and visit all the enclosed BREAKs and increment their "level". Thats why I actually like forward GOTOs. You get to name and SEE the label in the source code. BLISS has a LEAVE statement and named-block. You give a name to block and say LEAVE with that name. Its always a forward branch and you don't have to worry about other BEGIN/ENDs being added. -- John Reagan Compaq Pascal Project Leader ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 14:33 ` John Reagan @ 2001-02-28 15:19 ` Jan Vorbrueggen 2001-02-28 16:42 ` Rick Cadruvi 1 sibling, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-02-28 15:19 UTC (permalink / raw) John Reagan <reagan@hiyall.zko.dec.com> writes: > > Sounds like you want GOTO back. I thought Dyjkstra convinced everyone > > that was a bad idea?? ;-) There is a riposte, about two decades later, to that article in the mode of the graphics wheel of re-incarnation, discussing abuses of if...else...endif nested to unlimited depth. Consider that Knuth used GOTO conscientiously in his public software (TeX, Metafont). > BLISS has a LEAVE statement and named-block. You give a name to block > and say LEAVE with that name. Its always a forward branch and you don't > have to worry about other BEGIN/ENDs being added. That's what Fortran95 does, repairing an oversight in F90. You can name all control structures, and if you do, the compiler has to check they are used consistently. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 14:33 ` John Reagan 2001-02-28 15:19 ` Jan Vorbrueggen @ 2001-02-28 16:42 ` Rick Cadruvi 2001-02-28 17:45 ` John Reagan 1 sibling, 1 reply; 168+ messages in thread From: Rick Cadruvi @ 2001-02-28 16:42 UTC (permalink / raw) > However, even with just going forward, I don't like BREAK since the > reader of the code doesn't know where the BREAK will go. Sure, you can > look and 'guess', but only the compiler knows for sure. And adding > another level of BEGIN/END makes you go and visit all the enclosed > BREAKs and increment their "level". True. Sometimes you create new problems when trying to solve an existing problem. However, through careful indentation of my code BEGIN/ENDs I can make it obvious where the BREAK ends up at. Obviously a language construct that eliminates this is better. My point is just that I could write simpler and therefore better code with this notion. > > Thats why I actually like forward GOTOs. You get to name and SEE the > label in the source code. > > BLISS has a LEAVE statement and named-block. You give a name to block > and say LEAVE with that name. Its always a forward branch and you don't > have to worry about other BEGIN/ENDs being added. Exactly. I rarely use this feature in BLISS, but when I do want it, it works well. However, you still have to locate the correct BEGIN/END as in the BREAK # case. I'm not sure I see how this is entirely different. Rick... ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 16:42 ` Rick Cadruvi @ 2001-02-28 17:45 ` John Reagan 0 siblings, 0 replies; 168+ messages in thread From: John Reagan @ 2001-02-28 17:45 UTC (permalink / raw) Rick Cadruvi wrote: > > > BLISS has a LEAVE statement and named-block. You give a name to block > > and say LEAVE with that name. Its always a forward branch and you don't > > have to worry about other BEGIN/ENDs being added. > > Exactly. I rarely use this feature in BLISS, but when I do want it, it > works > well. However, you still have to locate the correct BEGIN/END as in > the BREAK # case. I'm not sure I see how this is entirely different. Yes, you still have to find the right BEGIN/END to label to begin with, but the addition of other code doesn't 'move' the label. -- John Reagan Compaq Pascal Project Leader ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 14:22 ` Bill Gunshannon 2001-02-28 14:33 ` John Reagan @ 2001-02-28 14:58 ` Robert Deininger 2001-02-28 15:29 ` Jan Vorbrueggen ` (3 more replies) 2001-03-01 3:33 ` Christof Brass 2 siblings, 4 replies; 168+ messages in thread From: Robert Deininger @ 2001-02-28 14:58 UTC (permalink / raw) In article <97j1jq$g00$1@info.cs.uofs.edu>, bill@cs.scranton.edu wrote: > In article <cCYm6.1296$CP4.299029@paloalto-snr1.gtei.net>, > "Rick Cadruvi" <rick@rdperf.com> writes: > Even as far back as Fortran I learned as a programmer that implicit > anything was a bad idea. Never assume, always code explicitly. Sounds like a bit of Ada advocacy. :-) > |> > |> 3. BREAK. Break should be allowed from ALL Begin/End ({}) > |> constructs (including IF ELSE). You should also be able to > |> BREAK # where # is the number of Begin/End blocks you want > |> to break out of. > > Sounds like you want GOTO back. I thought Dyjkstra convinced everyone > that was a bad idea?? ;-) In no way did Dyjkstra convince everybody. There are times when GOTO is just what's needed. The example I see most often is coding a state machine. For an eloquent defense of GOTO, look in the comp.lang.ada archives for Robert Dewer's posts on the topic. > Well, you need two symbols for "equals", comparison and assignment. > That is what the "=" means. Anything else would be non-intuitve. > Question: What does ":" have to do with equality?? And yes, when > we used to use Pascal as our beginning language here one of the most > common coding errors was leaving out those pesky ":". Using double > "=" for comparison is very intuitve when you consider that every > other comparison that involves equality consists of a digraph with > at least one "=". (ie. ">=", "<=", "!=") Using ":=" for assignment had quite a lot of precident at the time C was developed. Starting a new convention was unnecessary. Way too late to change it now. > |> > |> My ideal language would probably be mostly a combination of BLISS and C. > > There is no such thing as "the ideal language". Ada was an attempt to > create (by committee no less!) a language that could be used for everything. > The result is a bloated monster that requires so much in resources that > it was never practical for small machines (and even some large ones like > PDP-11's). Most languages were created to fill a discovered need at the > time of their creation. Though you have supported the use of Ada in a classroom, you're convincing me you hardly know it yourself. Ada was IN NO WAY intended to fit all problem spaces. Two of the big design demands were for embedded programming, and for a language that scales well to very large programs. Your remarks about "bloated monster" and "not practical for small machines" are nonsense. A number of languages are significantly bigger than Ada. And it has been implemented on a number of small systems. Some of the first compilers _were_ dogs, however. Ada _is_ a lot bigger than C, but it does much more. From the programmer's point of view, you don't have to learn parts you don't need. There is a fairly concise C-like subset (with somewhat fuzzy boundaries) for example. Of course the compiler implementor has to deal with the whole language. Ada is also more specific than C -- the implementor has much less discretion in how a feature must behave. > |> > |> One thing I don't want is a language to get in the way. A lot of newer > |> languages are > |> designed to prevent programmers for doing things to keep them from making > |> mistakes. > |> I understand this logic, but what you have is an effort to over compensate > |> because > |> programmers were never taught to program well and they write BAD code. I don't think this is quite the right description of Ada. It is designed to let the compiler catch a lot of mistakes, so they never get into the running program. This may have a side effect of making programmers a bit more careful, thus reducing mistakes. > |> In order for a language to be useable, they invariably provide some > |> "backdoor" > |> that allows you to do the things you really want to do. As a result, those > |> "backdoors" get abused. Along comes someone else who says they have to > |> do something new that removes that "backdoor". As more code is written in > |> the > |> new language, it becomes clear that new "backdoors" have to be implemented > |> because the language is preventing complex things from being done or at > |> least > |> is making them so difficult that they take too long. This was always my > |> problem > |> with ADA. > > Now I'm confused. What you say above is in complete agreement with what > I have said, as well. Especially in the case of Ada. Well, he can't even spell Ada, so maybe his complaints are second hand? :-) The backdoors in Ada aren't obsure or hard to understand. There was an effort to make use of backdoors (unchecked deallocation, unchecked conversion ...) very explicit and obvious to the reader. And you don't need such things very often in Ada. Most programs never see them. I think they are most often abused by people trying to write C code using Ada syntax. That does lead to horrible code in a hurry. It's also not fair to say that more "backdoors" keep getting added to Ada. It has been quite static in this regard. Some of the complaints above apply much more to Pascal than to Ada. Pascal really was too constrained for many purposes, and had some subtle back doors. Ada is a descendant of Pascal, but it extends Pascal for useability, and closes some backdoors. > > |> Time to implement a project is VERY important. It's one of the > |> BAD > |> things with C/C++ in terms of applications development. > > This I don't agree with. In most cases, the actual coding is the smallest > part of the project. (at least well designed projects) Agreed. > It takes no longer > for an experienced C programmer to code a task in C than it would take an > experienced Ada programmer to do it in Ada. And believe it or not, regardless > of the language used, programmers of the same level of experience will make > an equivalent number of mistakes. It isn't the language that makes the > mistakes. If you spend time reading the Ada literature (or Eiffel, probably others), you will find that this has been measured, and refuted. C really is more error prone. Briefly, you are probably right about speed of initial coding. But not about error rates. Don't really want to start a language war. I hope it's not too late. -- Robert Deininger rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 14:58 ` Robert Deininger @ 2001-02-28 15:29 ` Jan Vorbrueggen 2001-02-28 16:55 ` Bill Gunshannon ` (2 subsequent siblings) 3 siblings, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-02-28 15:29 UTC (permalink / raw) rdeininger@mindspring.com (Robert Deininger) writes: > Using ":=" for assignment had quite a lot of precident at the time C was > developed. Starting a new convention was unnecessary. Way too late to > change it now. In mathematics notation, for one. Also, "=" suggests are symmetry assignment doesn't have, and which often throws novices - "how can x=x+7?". Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 14:58 ` Robert Deininger 2001-02-28 15:29 ` Jan Vorbrueggen @ 2001-02-28 16:55 ` Bill Gunshannon 2001-02-28 18:05 ` Bob Koehler ` (4 more replies) 2001-02-28 20:19 ` JF Mezei 2001-03-01 3:40 ` Christof Brass 3 siblings, 5 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-02-28 16:55 UTC (permalink / raw) In article <rdeininger-2802010958090001@user-2ive673.dialup.mindspring.com>, rdeininger@mindspring.com (Robert Deininger) writes: |> |> |> Sounds like a bit of Ada advocacy. :-) Sorry, you won't find much of that from me. :-) I don't particularly like the language and I've been involved with peripherally since before the first validated compiler. |> |> In no way did Dyjkstra convince everybody. Tongue must have been too firmly planted in cheek on the above. Dijkstra never convinced me. |> |> There are times when GOTO is just what's needed. The example I see most |> often is coding a state machine. For an eloquent defense of GOTO, look in |> the comp.lang.ada archives for Robert Dewer's posts on the topic. This surprises me. If Dewer is who I think he is, he was one of Ada's strongest advocates and GOTO is very much contrary to the paradigm put forward by it's developers. |> |> Using ":=" for assignment had quite a lot of precident at the time C was |> developed. Starting a new convention was unnecessary. Way too late to |> change it now. Really?? With C and Pascal being pretty much parallel developments (both starting around 1971 somewhere) I assume oyu must mean something earlier. Of course, it could have been worse. PL/1 used the same symbol "=" for both assignment and comparison. Maybe you mean Algol? But the use there wasn't particularly clear or unambiguous, if I remember correctly. |> |> Though you have supported the use of Ada in a classroom, Where did I say I supported it's use inthe classroom?? My preference for a first programming language remains Pascal. After all, that was the intended use of it's creator. We're back to that "the right tool for the job" idea again. |> you're convincing |> me you hardly know it yourself. While I have not done any million line projects with it, I know it well enough to program in it when required. And to help debug others Ada code. |> Ada was IN NO WAY intended to fit all |> problem spaces. Two of the big design demands were for embedded |> programming, and for a language that scales well to very large programs. Well, I was in data processing in the Military when it was first being developed and we were being told that all DOD systems would have to be eventually, rewritten in Ada. Luckily, that never happened. DOD had every intention of impossing Ada on everyone under their domain. How else do you think they justified the millions (billions?) of dollars wasted on the project?? |> |> Your remarks about "bloated monster" and "not practical for small |> machines" are nonsense. A number of languages are significantly bigger |> than Ada. And it has been implemented on a number of small systems. Some |> of the first compilers _were_ dogs, however. I guess your concept of a "small system" differs from mine. The smallest system I have ever seen a validated Ada compiler (and remember, there are no subsets of Ada!!) on was a VAX. At the time I saw my first Ada compiler I was doing a lot of work on PDP-11's, Z80 and M68000 microcomputers and even a Univac 1100. I know there was never an Ada compiler for the first three and I never saw one for the Univac. |> |> Ada _is_ a lot bigger than C, but it does much more. Actually, it does exactly the same thing. It just does it differnt. One of the most common ada compilers is GNAT which is just a different parser front end on a C compiler. I guess the biggest question is, "Does the language provide enough advantage to warrant the extra resources it requires?" Some of us say no. |> From the |> programmer's point of view, you don't have to learn parts you don't need. Which is true of any language. |> There is a fairly concise C-like subset (with somewhat fuzzy boundaries) No, according to the proponent agency, there are no subsets. |> for example. Of course the compiler implementor has to deal with the |> whole language. Ada is also more specific than C -- the implementor has |> much less discretion in how a feature must behave. Not true, and this is one of my main complaints. Look up tasking. It is totally implementor dependant. Two "parallel" tasks need not run in parallel and may in fact run asynchronously under some implementations. Which enters into a whole other argument about wether or not tasking belongs in a language at all, as opposed to being a function of the OS. |> |> I don't think this is quite the right description of Ada. It is designed |> to let the compiler catch a lot of mistakes, so they never get into the |> running program. This may have a side effect of making programmers a bit |> more careful, thus reducing mistakes. Experience has shown that it has quite the opposite effect. Why desk check your code when you can rely on the compiler to do it for you. The result is sloppier code that is syntactically correct but with some rather unique logic errors. |> > Now I'm confused. What you say above is in complete agreement with what |> > I have said, as well. Especially in the case of Ada. |> |> Well, he can't even spell Ada, so maybe his complaints are second hand? :-) |> |> The backdoors in Ada aren't obsure or hard to understand. There was an |> effort to make use of backdoors (unchecked deallocation, unchecked |> conversion ...) very explicit and obvious to the reader. And you don't |> need such things very often in Ada. Most programs never see them. I |> think they are most often abused by people trying to write C code using |> Ada syntax. That does lead to horrible code in a hurry. |> |> It's also not fair to say that more "backdoors" keep getting added to |> Ada. It has been quite static in this regard. |> This was true of C as well until ANSI got their hands on it. |> Some of the complaints above apply much more to Pascal than to Ada. |> Pascal really was too constrained for many purposes, and had some subtle |> back doors. Yes, this is a prime example of using the wrong tool for the job. Pascal was created to "teach" algorithms and data structures. Not to implement them in the real world. It is, of course, interesting to note that after seeing this terrible misuse of the language, wirth went back and created a language specifically to put the ideas he had put forward in Pascal in a practical and usable form. And thus was Modula born. And we all know how popular this language became. (he says with tongue planted very firmly in cheek!) :-) |> Ada is a descendant of Pascal, but it extends Pascal for |> useability, and closes some backdoors. This is one of the biggest things in Ada's favor. (IMHO) Not only did it keep a lot of this Pascal flavor, it had input from and was developed by many people who were firmly planted in earlier Pascal development. |> > This I don't agree with. In most cases, the actual coding is the smallest |> > part of the project. (at least well designed projects) |> |> Agreed. I'm glad of this. One of the things I constantly lament around here is how little pre-coding thought goes into most student work and the fact that this is not seen as a problem worth addressing. |> |> > It takes no longer |> > for an experienced C programmer to code a task in C than it would take an |> > experienced Ada programmer to do it in Ada. And believe it or not, regardless |> > of the language used, programmers of the same level of experience will make |> > an equivalent number of mistakes. It isn't the language that makes the |> > mistakes. |> |> If you spend time reading the Ada literature (or Eiffel, probably others), |> you will find that this has been measured, and refuted. C really is more |> error prone. Briefly, you are probably right about speed of initial |> coding. But not about error rates. I would dispute this, but as you state in the next line, I think it is more of a language war thing. Trust me on this one thing. In working with students, I see really bad programs written in Pascal, Ada, C, C++. Visual Basic and now even Java. |> |> Don't really want to start a language war. I hope it's not too late. No war intended. While I do most of my work in C (as I work primarily on Unix Machines and C is very much at home there.) I can do program in more than a dozen other languages. I believe in the right language for the job and that 90% of the project preceeds even the choice of language. The question is, how do you convince enough people to translate this into practice. All the best. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 16:55 ` Bill Gunshannon @ 2001-02-28 18:05 ` Bob Koehler 2001-03-01 9:07 ` Jan Vorbrueggen 2001-02-28 18:34 ` Larry Kilgallen ` (3 subsequent siblings) 4 siblings, 1 reply; 168+ messages in thread From: Bob Koehler @ 2001-02-28 18:05 UTC (permalink / raw) In article <97jai0$klq$1@info.cs.uofs.edu>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > I guess your concept of a "small system" differs from mine. The smallest > system I have ever seen a validated Ada compiler (and remember, there are > no subsets of Ada!!) on was a VAX. The software which controls the space shuttle is written in Ada. I don't think DEC ever shipped a VAX as small as the computers that shuttle software runs on. By small, I'm taking RAM size, but I think CPU speed is near 11/780 in orders of magnitude. No disks are used. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 18:05 ` Bob Koehler @ 2001-03-01 9:07 ` Jan Vorbrueggen 0 siblings, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-03-01 9:07 UTC (permalink / raw) koehler@encompasserve.org (Bob Koehler) writes: > The software which controls the space shuttle is written in Ada. No, it is written in HAL/S. > I don't think DEC ever shipped a VAX as small as the computers that > shuttle software runs on. Physically? For sure. Performance? An 11/725 probably comes close, and has much worse I/O performance. > By small, I'm taking RAM size, but I think CPU speed is near 11/780 > in orders of magnitude. No disks are used. But they have these funky "mass storage units", tapes that look like disks. Shades of the TU-58, I gather. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 16:55 ` Bill Gunshannon 2001-02-28 18:05 ` Bob Koehler @ 2001-02-28 18:34 ` Larry Kilgallen 2001-02-28 23:10 ` Rick Cadruvi 2001-02-28 19:52 ` Robert Deininger ` (2 subsequent siblings) 4 siblings, 1 reply; 168+ messages in thread From: Larry Kilgallen @ 2001-02-28 18:34 UTC (permalink / raw) In article <97jai0$klq$1@info.cs.uofs.edu>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > In article <rdeininger-2802010958090001@user-2ive673.dialup.mindspring.com>, > rdeininger@mindspring.com (Robert Deininger) writes: > |> There are times when GOTO is just what's needed. The example I see most > |> often is coding a state machine. For an eloquent defense of GOTO, look in > |> the comp.lang.ada archives for Robert Dewer's posts on the topic. > > This surprises me. If Dewer is who I think he is, he was one of > Ada's strongest advocates and GOTO is very much contrary to the > paradigm put forward by it's developers. Robert Dewar seems to take particular delight in showing non-kneejerk reactions. As a compiler vendor he hears lots of requirements, above and beyond his personal experience. Indeed state machines are one of his most frequent examples for "never say 'never'". > I guess your concept of a "small system" differs from mine. The smallest > system I have ever seen a validated Ada compiler (and remember, there are > no subsets of Ada!!) on was a VAX. At the time I saw my first Ada compiler > I was doing a lot of work on PDP-11's, Z80 and M68000 microcomputers and > even a Univac 1100. I know there was never an Ada compiler for the first > three and I never saw one for the Univac. But those using Ada to _target_ small systems are cross-compiling from something larger (like a VAX :-). But many are also doing so from a Windows machine. > |> for example. Of course the compiler implementor has to deal with the > |> whole language. Ada is also more specific than C -- the implementor has > |> much less discretion in how a feature must behave. > > Not true, and this is one of my main complaints. Look up tasking. It > is totally implementor dependant. Two "parallel" tasks need not run in > parallel and may in fact run asynchronously under some implementations. > Which enters into a whole other argument about wether or not tasking > belongs in a language at all, as opposed to being a function of the OS. Tasks must conform to synchronization rules of the language, and as you say they are free from there on out. But tasking is _critical_ for code that is to be portable between operating systems. > |> I don't think this is quite the right description of Ada. It is designed > |> to let the compiler catch a lot of mistakes, so they never get into the > |> running program. This may have a side effect of making programmers a bit > |> more careful, thus reducing mistakes. > > Experience has shown that it has quite the opposite effect. Why desk check > your code when you can rely on the compiler to do it for you. The result > is sloppier code that is syntactically correct but with some rather unique > logic errors. That has not been my experience. I find I am more free to deal with logic when the compiler is detecting the spelling errors. > |> > It takes no longer > |> > for an experienced C programmer to code a task in C than it would take an > |> > experienced Ada programmer to do it in Ada. And believe it or not, regardless > |> > of the language used, programmers of the same level of experience will make > |> > an equivalent number of mistakes. It isn't the language that makes the > |> > mistakes. I don't think the issue is the number of mistakes made. I think it is the number of mistakes made that are not caught at compile-time. That is the second-cheapest place to catch errors (the cheapest being design-time, but of course the truly incompetent skip that step :-). ============================================================================== Great Inventors of our time: Al Gore -> Internet; Sun Microsystems -> Clusters ============================================================================== ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 18:34 ` Larry Kilgallen @ 2001-02-28 23:10 ` Rick Cadruvi 0 siblings, 0 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-28 23:10 UTC (permalink / raw) "Larry Kilgallen" <Kilgallen@eisner.decus.org.nospam> wrote in message > > |> > It takes no longer > > |> > for an experienced C programmer to code a task in C than it would take an > > |> > experienced Ada programmer to do it in Ada. And believe it or not, regardless > > |> > of the language used, programmers of the same level of experience will make > > |> > an equivalent number of mistakes. It isn't the language that makes the > > |> > mistakes. > > I don't think the issue is the number of mistakes made. I think it is the > number of mistakes made that are not caught at compile-time. That is the > second-cheapest place to catch errors (the cheapest being design-time, but > of course the truly incompetent skip that step :-). > I mostly agree. Actually, I think the second cheapest and most important step in coding is to do a thorough code review after coding and before the first compile. Maybe it is just my brain going dead once in awhile, but I find I significanltly reduce the amount of time necessary to debug my programs if I do this step. I just end up catching 99% of the bugs this way. I thoroughly agree that C is not as good as other languages like Ada in catching coding mistakes. rick... ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 16:55 ` Bill Gunshannon 2001-02-28 18:05 ` Bob Koehler 2001-02-28 18:34 ` Larry Kilgallen @ 2001-02-28 19:52 ` Robert Deininger 2001-03-01 14:21 ` Bob Koehler [not found] ` <KForX+5U$4bOrganization: Encompasserve <ZDsZwRGKoAEm@eisner.encompasserve.org> 4 siblings, 0 replies; 168+ messages in thread From: Robert Deininger @ 2001-02-28 19:52 UTC (permalink / raw) In article <97jai0$klq$1@info.cs.uofs.edu>, bill@cs.scranton.edu wrote: > In article <rdeininger-2802010958090001@user-2ive673.dialup.mindspring.com>, > rdeininger@mindspring.com (Robert Deininger) writes: > |> > |> There are times when GOTO is just what's needed. The example I see most > |> often is coding a state machine. For an eloquent defense of GOTO, look in > |> the comp.lang.ada archives for Robert Dewer's posts on the topic. > > This surprises me. If Dewer is who I think he is, he was one of > Ada's strongest advocates and GOTO is very much contrary to the > paradigm put forward by it's developers. First, I mispelled his name. Dewar looks better to me at the moment. Yes, I'm sure it's the same fellow you're thinking of. Big Ada advocate, principal at ACT -- and believer in GOTO at appropriate times. > > |> > |> Using ":=" for assignment had quite a lot of precident at the time C was > |> developed. Starting a new convention was unnecessary. Way too late to > |> change it now. > > Really?? With C and Pascal being pretty much parallel developments > (both starting around 1971 somewhere) I assume oyu must mean something > earlier. Of course, it could have been worse. PL/1 used the same > symbol "=" for both assignment and comparison. Maybe you mean Algol? > But the use there wasn't particularly clear or unambiguous, if I > remember correctly. Yes, IIRC, Pascal borrowed it from Algol. > |> Though you have supported the use of Ada in a classroom, > > Where did I say I supported it's use inthe classroom?? My preference > for a first programming language remains Pascal. After all, that was > the intended use of it's creator. We're back to that "the right tool > for the job" idea again. I meant supported, as in "facilitated the use of", not supported, and in "advocated". Perhaps I misunderstood your role. > |> you're convincing > |> me you hardly know it yourself. > > While I have not done any million line projects with it, I know it well > enough to program in it when required. And to help debug others Ada code. > > |> Ada was IN NO WAY intended to fit all > |> problem spaces. Two of the big design demands were for embedded > |> programming, and for a language that scales well to very large programs. > > Well, I was in data processing in the Military when it was first being > developed and we were being told that all DOD systems would have to be > eventually, rewritten in Ada. Luckily, that never happened. DOD had > every intention of impossing Ada on everyone under their domain. How > else do you think they justified the millions (billions?) of dollars > wasted on the project?? It wasn't money wasted... many projects were successfully completed and are still alive using Ada. It _was_ mandated for a while, but now there are more "language-neutral" requirements in place. Before Ada, there were _many_ DOD languages, and that was a big problem Ada was meant to solve. Ada did have problems at first, and the heavy-handed mandate I think caused a backlash that's still alive. > |> Your remarks about "bloated monster" and "not practical for small > |> machines" are nonsense. A number of languages are significantly bigger > |> than Ada. And it has been implemented on a number of small systems. Some > |> of the first compilers _were_ dogs, however. > > I guess your concept of a "small system" differs from mine. The smallest > system I have ever seen a validated Ada compiler (and remember, there are > no subsets of Ada!!) on was a VAX. At the time I saw my first Ada compiler > I was doing a lot of work on PDP-11's, Z80 and M68000 microcomputers and > even a Univac 1100. I know there was never an Ada compiler for the first > three and I never saw one for the Univac. Many of those systems were at or near EOL when Ada got up to speed. I suspect some of them were Ada targets, but not developement platforms. Embedded programming pretty much requires targeting small, almost bare, hardware systems. > |> Ada _is_ a lot bigger than C, but it does much more. > > Actually, it does exactly the same thing. It just does it differnt. > One of the most common ada compilers is GNAT which is just a different > parser front end on a C compiler. I guess the biggest question is, > "Does the language provide enough advantage to warrant the extra > resources it requires?" Some of us say no. GNAT is NOT an Ada parser stuck on a C compiler. You have gotten out of touch. A few of the things that Ada has, that C lacks: Support for concurrency (tasks) Generics Packages ... Ada is not the language it was 15 or 20 years ago. > > |> From the > |> programmer's point of view, you don't have to learn parts you don't need. > > Which is true of any language. > > |> There is a fairly concise C-like subset (with somewhat fuzzy boundaries) > > No, according to the proponent agency, there are no subsets. I'm not talking about formal subsets, I'm talking about functional subsets. For example, if you don't need concurrency, you can just ignore the tasking part. With a slightly different terminology, Ada 95 does have Annexes, which are groups of optional extensions for specific problem domains. An implementor can omit a whole annex, or include all of it. > |> for example. Of course the compiler implementor has to deal with the > |> whole language. Ada is also more specific than C -- the implementor has > |> much less discretion in how a feature must behave. > > Not true, and this is one of my main complaints. Look up tasking. It > is totally implementor dependant. Two "parallel" tasks need not run in > parallel and may in fact run asynchronously under some implementations. > Which enters into a whole other argument about wether or not tasking > belongs in a language at all, as opposed to being a function of the OS. The language requirements explicitly called for tasking at the language level, hopefull to make programs more platform-neutral. The implementor's discretion in this case was necessary to get implementations on many platforms. In practice, you get one or more of the mechanisms the underlying OS supports. There are many multi-task problems where the details of the tasking model don't matter. Those can be implemented in Ada without any platform-specific pragmas. On the other hand, Ada does _not_ give the implementor any wiggle room on how to evaluate a multi-part conditional expression. A number of things in C are explicitly platform-dependent, i.e. the result of a chunk of code is supposed to depend on the platform. Ada aims the other way, but often gives you a way to specify low-level details in a platform-neutral way when you need to. It tends to make the dependent part more visible. > |> I don't think this is quite the right description of Ada. It is designed > |> to let the compiler catch a lot of mistakes, so they never get into the > |> running program. This may have a side effect of making programmers a bit > |> more careful, thus reducing mistakes. > > Experience has shown that it has quite the opposite effect. Why desk check > your code when you can rely on the compiler to do it for you. The result > is sloppier code that is syntactically correct but with some rather unique > logic errors. Not in my (fairly limited) experience, and not according to a lot of big Ada shops. Though I think sloppy coding is not sufficiently discouraged in the schools these days, in any language. 1. It's best not to make the mistake in the first place. 2. Next best is to have the compiler catch the mistake. 3. Next best is to detect the mistake at run time. 4. Worst is to not detect the mistake at all, and generate wrong results. My main claim is that Ada is much better at number 2 than C is. The compiler has much more information at it's fingertips, so this should not be too surprising. It seems to be well confirmed in practice. Number 1 is probably largely cultural. Good programmers are better at number 1 than are bad programmers. > |> > Now I'm confused. What you say above is in complete agreement with what > |> > I have said, as well. Especially in the case of Ada. > |> > |> Well, he can't even spell Ada, so maybe his complaints are second hand? :-) > |> > |> The backdoors in Ada aren't obsure or hard to understand. There was an > |> effort to make use of backdoors (unchecked deallocation, unchecked > |> conversion ...) very explicit and obvious to the reader. And you don't > |> need such things very often in Ada. Most programs never see them. I > |> think they are most often abused by people trying to write C code using > |> Ada syntax. That does lead to horrible code in a hurry. > |> > |> It's also not fair to say that more "backdoors" keep getting added to > |> Ada. It has been quite static in this regard. > |> > > This was true of C as well until ANSI got their hands on it. > > |> Some of the complaints above apply much more to Pascal than to Ada. > |> Pascal really was too constrained for many purposes, and had some subtle > |> back doors. > > Yes, this is a prime example of using the wrong tool for the job. Pascal > was created to "teach" algorithms and data structures. Not to implement > them in the real world. It is, of course, interesting to note that after > seeing this terrible misuse of the language, wirth went back and created > a language specifically to put the ideas he had put forward in Pascal in > a practical and usable form. And thus was Modula born. And we all know > how popular this language became. (he says with tongue planted very firmly > in cheek!) :-) > > |> Ada is a descendant of Pascal, but it extends Pascal for > |> useability, and closes some backdoors. > > This is one of the biggest things in Ada's favor. (IMHO) Not only did > it keep a lot of this Pascal flavor, it had input from and was developed > by many people who were firmly planted in earlier Pascal development. > > > |> > This I don't agree with. In most cases, the actual coding is the smallest > |> > part of the project. (at least well designed projects) > |> > |> Agreed. > > I'm glad of this. One of the things I constantly lament around here is > how little pre-coding thought goes into most student work and the fact > that this is not seen as a problem worth addressing. I still hope I'm not contributing to a flame war. -- Robert Deininger rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 16:55 ` Bill Gunshannon ` (2 preceding siblings ...) 2001-02-28 19:52 ` Robert Deininger @ 2001-03-01 14:21 ` Bob Koehler [not found] ` <KForX+5U$4bOrganization: Encompasserve <ZDsZwRGKoAEm@eisner.encompasserve.org> 4 siblings, 0 replies; 168+ messages in thread From: Bob Koehler @ 2001-03-01 14:21 UTC (permalink / raw) In article <y4vgptzwk7.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>, Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> writes: > koehler@encompasserve.org (Bob Koehler) writes: > >> The software which controls the space shuttle is written in Ada. > > No, it is written in HAL/S. > There are two independently developed systems from different sites with different contractors. This is supposed to prevent any one software mistake from showing up twice. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
[parent not found: <KForX+5U$4bOrganization: Encompasserve <ZDsZwRGKoAEm@eisner.encompasserve.org>]
* Re: Drop C/C++ better sooner than later [not found] ` <KForX+5U$4bOrganization: Encompasserve <ZDsZwRGKoAEm@eisner.encompasserve.org> @ 2001-03-01 15:16 ` Jan Vorbrueggen 2001-03-01 21:58 ` JF Mezei 0 siblings, 1 reply; 168+ messages in thread From: Jan Vorbrueggen @ 2001-03-01 15:16 UTC (permalink / raw) koehler@encompasserve.org (Bob Koehler) writes: > > No, it is written in HAL/S. > There are two independently developed systems from different sites with > different contractors. This is supposed to prevent any one software > mistake from showing up twice. The PASS (primary avionics software system, or somesuch) is definitely in HAL/S, and is the only one that has ever flown the thing in practice. As the BFS (backup flight system, or somesuch) was available for the first flight twenty years ago, I doubt it is in Ada, and it has never flown a shuttle. (They were one failure away once on an early flight, I believe.) Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 15:16 ` Jan Vorbrueggen @ 2001-03-01 21:58 ` JF Mezei 2001-03-02 10:26 ` Alan Greig 0 siblings, 1 reply; 168+ messages in thread From: JF Mezei @ 2001-03-01 21:58 UTC (permalink / raw) Jan Vorbrueggen wrote: > The PASS (primary avionics software system, or somesuch) is definitely in > HAL/S, and is the only one that has ever flown the thing in practice. As the > BFS (backup flight system, or somesuch) was available for the first flight > twenty years ago, I doubt it is in Ada, and it has never flown a shuttle. > (They were one failure away once on an early flight, I believe.) There was a failure a few flights ago. (It was one flight with a female commander, one or two years ago). That failure prompted the grounding of the shuttle fleet while all the wiring was inspected. The architecture worked as designed, with the shuttle surviving the loss of part of its systems. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 21:58 ` JF Mezei @ 2001-03-02 10:26 ` Alan Greig 2001-03-05 10:20 ` Jan Vorbrueggen 0 siblings, 1 reply; 168+ messages in thread From: Alan Greig @ 2001-03-02 10:26 UTC (permalink / raw) On Thu, 01 Mar 2001 16:58:45 -0500, JF Mezei <jfmezei.spamnot@videotron.ca> wrote: >Jan Vorbrueggen wrote: >> The PASS (primary avionics software system, or somesuch) is definitely in >> HAL/S, and is the only one that has ever flown the thing in practice. As the >> BFS (backup flight system, or somesuch) was available for the first flight >> twenty years ago, I doubt it is in Ada, and it has never flown a shuttle. >> (They were one failure away once on an early flight, I believe.) > >There was a failure a few flights ago. (It was one flight with a female >commander, one or two years ago). That failure prompted the grounding of the >shuttle fleet while all the wiring was inspected. > >The architecture worked as designed, with the shuttle surviving the loss of >part of its systems. Found unedited video on BBC web site http://news.bbc.co.uk/olmedia/400000/video/_401727_shuttle_launch_mov_vi.ram if anyone wants to watch. Includes following sequence: "Looks like we had a transient on AC1" "We are critical on AC2 centre engine" "Critical AC3 right" "Lost DCUA centre" "DCUB right" "Copy that Houston" "Go with throttle up" "Roger go with throttle up" Anyone translate the above? -- Alan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-02 10:26 ` Alan Greig @ 2001-03-05 10:20 ` Jan Vorbrueggen 0 siblings, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-03-05 10:20 UTC (permalink / raw) Alan Greig <a.greig@virgin.net> writes: > if anyone wants to watch. > Includes following sequence: > "Looks like we had a transient on AC1" > "We are critical on AC2 centre engine" > "Critical AC3 right" > "Lost DCUA centre" > "DCUB right" > "Copy that Houston" > "Go with throttle up" > "Roger go with throttle up" > > Anyone translate the above? Yes. What happened was a short circuit in some wires (due to abrasion - the wide spread existence of which triggered the grounding of the fleet for repair). This lead to one of three (IIRC) redundant power busses and the hardware it was driving failing. The failed parts were, among others, at least one engine controller: these are redundant, and the backup took over without a problem. Had both controllers failed, the engine would have shut down, and at that point in the flight, and engine shutdown would have meant a Return to Launch Site abort, the worst possible case whose survivability is uncertain - doing U-turns at several Mach isn't easy. I'm not certain what the abbreviations mean - they should be in the shuttle reference guide on the KSC web site, but the list of abbreviations doesn't have them. They also on that flight had a leak in the cooling pipe that rings the engine bell on one engine, due to debris. This resulted in somewhat higher consumption of hydrogen (fuel) that is used as a coolant for the engine bell before it is burnt, in turn resulting in a slightly lower initial orbit. The backup control system for the whole system has never been used in flight. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 14:58 ` Robert Deininger 2001-02-28 15:29 ` Jan Vorbrueggen 2001-02-28 16:55 ` Bill Gunshannon @ 2001-02-28 20:19 ` JF Mezei 2001-03-01 13:52 ` Bill Gunshannon 2001-03-01 3:40 ` Christof Brass 3 siblings, 1 reply; 168+ messages in thread From: JF Mezei @ 2001-02-28 20:19 UTC (permalink / raw) One thing about C: I find that I don't entirely trust the C compiler. As a result, when I do anything where I have any doubts on how the compiler will react, I will test the module extensively to ensure it works reliably. If someone blindly trusts the compiler, then that person is beggging for problems in C. But if you don't trust the compiler and test everything, you probably end up with more robust programs. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 20:19 ` JF Mezei @ 2001-03-01 13:52 ` Bill Gunshannon 2001-03-01 15:13 ` Jan Vorbrueggen ` (2 more replies) 0 siblings, 3 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-03-01 13:52 UTC (permalink / raw) In article <3A9D5D59.F09FC122@videotron.ca>, JF Mezei <jfmezei.spamnot@videotron.ca> writes: |> One thing about C: |> |> I find that I don't entirely trust the C compiler. As a result, when I do |> anything where I have any doubts on how the compiler will react, I will test |> the module extensively to ensure it works reliably. |> |> If someone blindly trusts the compiler, then that person is beggging for |> problems in C. But if you don't trust the compiler and test everything, you |> probably end up with more robust programs. Why would you not trust one compiler any more than another?? This makes absolutely no sense. Are you saying that just because the language is C the guys in the DEC Compiler Engineering Group are somehow sloppier or more careless?? I would be more likely to mistrustt he Ada compiler based solely on the several orders of magnitude more complex it is. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 13:52 ` Bill Gunshannon @ 2001-03-01 15:13 ` Jan Vorbrueggen 2001-03-01 16:05 ` Bill Gunshannon 2001-03-01 17:08 ` Robert Deininger 2001-03-01 16:58 ` Robert Deininger 2001-03-01 21:45 ` JF Mezei 2 siblings, 2 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-03-01 15:13 UTC (permalink / raw) bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > I would be more likely to mistrustt he Ada compiler based > solely on the several orders of magnitude more complex it is. Is somebody willing and able to post a DIR/SIZE of ADA.EXE, DECC.EXE and DECXX.EXE? Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 15:13 ` Jan Vorbrueggen @ 2001-03-01 16:05 ` Bill Gunshannon 2001-03-01 17:08 ` Robert Deininger 1 sibling, 0 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-03-01 16:05 UTC (permalink / raw) In article <y44rxdfro3.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>, Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> writes: |> bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: |> |> > I would be more likely to mistrustt he Ada compiler based |> > solely on the several orders of magnitude more complex it is. |> |> Is somebody willing and able to post a DIR/SIZE of ADA.EXE, DECC.EXE and |> DECXX.EXE? what does the size of those files have to do with it?? Assuming you admit that Ada, as a language is more complex than C, then the compiler is equally more complex. Surely there is additional complecity in all those features that C does not have. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 15:13 ` Jan Vorbrueggen 2001-03-01 16:05 ` Bill Gunshannon @ 2001-03-01 17:08 ` Robert Deininger 2001-03-01 17:47 ` Rick Cadruvi 1 sibling, 1 reply; 168+ messages in thread From: Robert Deininger @ 2001-03-01 17:08 UTC (permalink / raw) In article <y44rxdfro3.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>, Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote: > bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > > > I would be more likely to mistrustt he Ada compiler based > > solely on the several orders of magnitude more complex it is. > > Is somebody willing and able to post a DIR/SIZE of ADA.EXE, DECC.EXE and > DECXX.EXE? ADA.EXE;1 19590/19593 ACS.EXE;1 4072/4077 CXX$COMPILER.EXE;3 16805/16857 CXX$DEMANGLE.EXE;4 30/144 CXX$LINK.EXE;3 87/144 DECC$COMPILER.EXE;1 12517/12528 FORT$MAIN.EXE;1 9126/9126 F90$MAIN.EXE;1 14025/14031 All somewhat out of date... ACS> show ver DEC Ada V3.4-2 with the Professional Development Option $ cxx/ver Compaq C++ V6.2-035 for OpenVMS Alpha V7.1-2 $ cc/ver DEC C V5.7-004 on OpenVMS Alpha V7.1-2 DIGITAL Fortran 77 X7.1-156-337CG DIGITAL Fortran 90 X7.1-574-337CG In particular, I'm pretty sure that C++ has grown significatly since this one was current. By this measure, "orders of magnitude" doesn't look realistic. -- Robert Deininger rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 17:08 ` Robert Deininger @ 2001-03-01 17:47 ` Rick Cadruvi 2001-03-01 20:36 ` Paul Repacholi ` (2 more replies) 0 siblings, 3 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-03-01 17:47 UTC (permalink / raw) I'm not sure what the point is with size of compilers. Most of the size of the code for a compiler isn't necessarily related to the complexity of the language. Compilers use tables for parsing/lexical analysis. The tricky part of compilers and what tends to add size is the code optimizations. The more a language does checking of syntax and constructs, the more it relies on data it gets from the sources/includes (hidden or otherwise). Compiler size has very little if anything to do with complexity of the language. Run-time support may. The best thing to look at would be image size for similar tasks having the runtime support linked in without using shareable images. Better yet, keep the task to something done without using libraries and see how much extra stuff the compiler throws in the final image. Rick... "Robert Deininger" <rdeininger@mindspring.com> wrote in message news:rdeininger-0103011208040001@user-2ive7nq.dialup.mindspring.com... > In article <y44rxdfro3.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>, > Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote: > > > bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > > > > > I would be more likely to mistrustt he Ada compiler based > > > solely on the several orders of magnitude more complex it is. > > > > Is somebody willing and able to post a DIR/SIZE of ADA.EXE, DECC.EXE and > > DECXX.EXE? > > > ADA.EXE;1 19590/19593 > ACS.EXE;1 4072/4077 > > CXX$COMPILER.EXE;3 16805/16857 > CXX$DEMANGLE.EXE;4 30/144 > CXX$LINK.EXE;3 87/144 > > DECC$COMPILER.EXE;1 > 12517/12528 > > FORT$MAIN.EXE;1 9126/9126 > > F90$MAIN.EXE;1 14025/14031 > > All somewhat out of date... > > ACS> show ver > DEC Ada V3.4-2 with the Professional Development Option > > $ cxx/ver > Compaq C++ V6.2-035 for OpenVMS Alpha V7.1-2 > > $ cc/ver > DEC C V5.7-004 on OpenVMS Alpha V7.1-2 > > DIGITAL Fortran 77 X7.1-156-337CG > > DIGITAL Fortran 90 X7.1-574-337CG > > In particular, I'm pretty sure that C++ has grown significatly since this > one was current. > > > By this measure, "orders of magnitude" doesn't look realistic. > > -- > Robert Deininger > rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 17:47 ` Rick Cadruvi @ 2001-03-01 20:36 ` Paul Repacholi 2001-03-01 23:11 ` Christof Brass 2001-03-03 14:54 ` Jan Vorbrueggen 2 siblings, 0 replies; 168+ messages in thread From: Paul Repacholi @ 2001-03-01 20:36 UTC (permalink / raw) "Rick Cadruvi" <rick@rdperf.com> writes: > Compiler size has very little if anything to do with complexity of > the language. Run-time support may. The best thing to look at > would be image size for similar tasks having the runtime support > linked in without using shareable images. Better yet, keep the task > to something done without using libraries and see how much extra > stuff the compiler throws in the final image. Well illistrated in the book of D Cutler et al doing the PL/I compiler. At the end is a chapter Beauty and the Beast, and the 'fun' they had and the extra work that was needed to get a simple language, C, to work. For a VAX C value of work... -- Paul Repacholi 1 Crescent Rd., +61 (08) 9257-1001 Kalamunda. West Australia 6076 Raw, Cooked or Well-done, it's all half baked. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 17:47 ` Rick Cadruvi 2001-03-01 20:36 ` Paul Repacholi @ 2001-03-01 23:11 ` Christof Brass 2001-03-03 14:54 ` Jan Vorbrueggen 2 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 23:11 UTC (permalink / raw) Rick Cadruvi wrote: > > I'm not sure what the point is with size of compilers. > Most of the size of the code for a compiler isn't necessarily > related to the complexity of the language. Compilers use tables > for parsing/lexical analysis. The tricky part of compilers and > what tends to add size is the code optimizations. > > The more a language does checking of syntax and constructs, > the more it relies on data it gets from the sources/includes > (hidden or otherwise). > > Compiler size has very little if anything to do with complexity > of the language. Run-time support may. The best thing to look at > would be image size for similar tasks having the runtime support > linked in without using shareable images. Better yet, keep the > task to something done without using libraries and see how much > extra stuff the compiler throws in the final image. > > Rick... > > "Robert Deininger" <rdeininger@mindspring.com> wrote in message > news:rdeininger-0103011208040001@user-2ive7nq.dialup.mindspring.com... > > In article <y44rxdfro3.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>, > > Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote: > > > > > bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > > > > > > > I would be more likely to mistrustt he Ada compiler based > > > > solely on the several orders of magnitude more complex it is. > > > > > > Is somebody willing and able to post a DIR/SIZE of ADA.EXE, DECC.EXE and > > > DECXX.EXE? > > > > > > ADA.EXE;1 19590/19593 > > ACS.EXE;1 4072/4077 > > > > CXX$COMPILER.EXE;3 16805/16857 > > CXX$DEMANGLE.EXE;4 30/144 > > CXX$LINK.EXE;3 87/144 > > > > DECC$COMPILER.EXE;1 > > 12517/12528 > > > > FORT$MAIN.EXE;1 9126/9126 > > > > F90$MAIN.EXE;1 14025/14031 > > > > All somewhat out of date... > > > > ACS> show ver > > DEC Ada V3.4-2 with the Professional Development Option > > > > $ cxx/ver > > Compaq C++ V6.2-035 for OpenVMS Alpha V7.1-2 > > > > $ cc/ver > > DEC C V5.7-004 on OpenVMS Alpha V7.1-2 > > > > DIGITAL Fortran 77 X7.1-156-337CG > > > > DIGITAL Fortran 90 X7.1-574-337CG > > > > In particular, I'm pretty sure that C++ has grown significatly since this > > one was current. > > > > > > By this measure, "orders of magnitude" doesn't look realistic. > > > > -- > > Robert Deininger > > rdeininger@mindspring.com The complexity of a PL can be at different places. Syntax can be complex, i.e. not very regular which leads to complexer and bigger scanning/parsing routines. The semantics of constructs can be complex this adds to the complexity and size of the high level code generation. High level optimisation is complexer if the language offers more powerful constructs. Complexity of the PL contributes substantially to the size of the compiler. But one effect wasn't taken into account so far: if the compiler is written in its language the quality/attributes of the language have a double effect on the compiler: the more powerful the language is the more elegant the compiler can be constructed, and by that limiting the effect on increasing the compiler size. The better the language is in terms of safety and architectural quality the better the compiler will be. This double effect is one main reason why C and C++ compilers are pieces of shit. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 17:47 ` Rick Cadruvi 2001-03-01 20:36 ` Paul Repacholi 2001-03-01 23:11 ` Christof Brass @ 2001-03-03 14:54 ` Jan Vorbrueggen 2001-03-06 19:24 ` Bill Gunshannon 2 siblings, 1 reply; 168+ messages in thread From: Jan Vorbrueggen @ 2001-03-03 14:54 UTC (permalink / raw) "Rick Cadruvi" <rick@rdperf.com> writes: > I'm not sure what the point is with size of compilers. > Most of the size of the code for a compiler isn't necessarily > related to the complexity of the language. Compilers use tables > for parsing/lexical analysis. The tricky part of compilers and > what tends to add size is the code optimizations. All granted. But the claim was "Ada has orders of magnitude more complexity than C", and I was looking for zeroth order effects. The data do not bear out the allegation at all, IMNSHO. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-03 14:54 ` Jan Vorbrueggen @ 2001-03-06 19:24 ` Bill Gunshannon 2001-03-06 21:53 ` Larry Kilgallen ` (2 more replies) 0 siblings, 3 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-03-06 19:24 UTC (permalink / raw) In article <y4g0gux5rb.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>, Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> writes: |> "Rick Cadruvi" <rick@rdperf.com> writes: |> |> > I'm not sure what the point is with size of compilers. |> > Most of the size of the code for a compiler isn't necessarily |> > related to the complexity of the language. Compilers use tables |> > for parsing/lexical analysis. The tricky part of compilers and |> > what tends to add size is the code optimizations. |> |> All granted. But the claim was "Ada has orders of magnitude more complexity |> than C", and I was looking for zeroth order effects. The data do not bear out |> the allegation at all, IMNSHO. Well, I'm the one who made the above statement and I stand by it. But I hardly expected people would compare the binaries of the compilers. I can change the size of a binary by an order of magnitude with one additional option. I meant the complexity of the language meant additional complexity in the source of the compiler and ergo, the more complex compiler should be the one that was less to be trusted. I wold like to see a comparison of the number of lines of code in a C compiler as compared to an Ada compiler. And by a C compiler I do not mean that abomination from Gnu. I mean a real C compiler. For example DEC C vs DEC Ada. I can even provide the count for a couple of the early Unix C compilers which were done before people like ANSI or GNU were able to ruin them. Of course, another interesting question is, What language is the DEC Ada compiler written in?? I know what language the real C compilers are written in. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-06 19:24 ` Bill Gunshannon @ 2001-03-06 21:53 ` Larry Kilgallen 2001-03-06 22:29 ` David J. Dachtera 2001-03-07 0:33 ` Brian Schenkenberger, VAXman- 2001-03-07 14:21 ` Jan Vorbrueggen 2001-03-13 7:49 ` Fred Zwarts 2 siblings, 2 replies; 168+ messages in thread From: Larry Kilgallen @ 2001-03-06 21:53 UTC (permalink / raw) In article <983dhi$2pr2$1@info.cs.uofs.edu>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > Of course, another interesting question is, What language is the DEC > Ada compiler written in?? Compaq Ada (nee DEC Ada) is written in Bliss. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-06 21:53 ` Larry Kilgallen @ 2001-03-06 22:29 ` David J. Dachtera 2001-03-07 0:33 ` Brian Schenkenberger, VAXman- 1 sibling, 0 replies; 168+ messages in thread From: David J. Dachtera @ 2001-03-06 22:29 UTC (permalink / raw) Larry Kilgallen wrote: > > In article <983dhi$2pr2$1@info.cs.uofs.edu>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > > > Of course, another interesting question is, What language is the DEC > > Ada compiler written in?? > > Compaq Ada (nee DEC Ada) is written in Bliss. Question: If ignorance is Bliss, then is Ada born of ignorance? ;-) -- David J. Dachtera dba DJE Systems http://www.djesys.com/ Unofficial Affordable OpenVMS Home Page and Message Board: http://www.djesys.com/vms/soho/ This *IS* an OpenVMS-related newsgroup. So, a certain bias in postings is to be expected. Feel free to exercise your rights of free speech and expression. However, attacks against individual posters, or groups of posters, are strongly discouraged. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-06 21:53 ` Larry Kilgallen 2001-03-06 22:29 ` David J. Dachtera @ 2001-03-07 0:33 ` Brian Schenkenberger, VAXman- 2001-03-07 2:53 ` Christof Brass 1 sibling, 1 reply; 168+ messages in thread From: Brian Schenkenberger, VAXman- @ 2001-03-07 0:33 UTC (permalink / raw) In article <3AA564C9.C01DD3D9@earthlink.net>, "David J. Dachtera" <djesys.nospam@earthlink.net> writes: >Larry Kilgallen wrote: >> >> In article <983dhi$2pr2$1@info.cs.uofs.edu>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: >> >> > Of course, another interesting question is, What language is the DEC >> > Ada compiler written in?? >> >> Compaq Ada (nee DEC Ada) is written in Bliss. > >Question: > >If ignorance is Bliss, then is Ada born of ignorance? > >;-) Marriage is bliss. Ignorance is bliss. Therefore, marriage is ignorance. Yeah, yeah, yeah. We've heard all the jokes before. -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM city, n., 1. a place where trees are cut down and streets are named after them. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-07 0:33 ` Brian Schenkenberger, VAXman- @ 2001-03-07 2:53 ` Christof Brass 2001-03-07 3:27 ` Robert Deininger 2001-03-07 14:33 ` Bill Gunshannon 0 siblings, 2 replies; 168+ messages in thread From: Christof Brass @ 2001-03-07 2:53 UTC (permalink / raw) "Brian Schenkenberger, VAXman-" wrote: > > In article <3AA564C9.C01DD3D9@earthlink.net>, "David J. Dachtera" <djesys.nospam@earthlink.net> writes: > >Larry Kilgallen wrote: > >> > >> In article <983dhi$2pr2$1@info.cs.uofs.edu>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > >> > >> > Of course, another interesting question is, What language is the DEC > >> > Ada compiler written in?? > >> > >> Compaq Ada (nee DEC Ada) is written in Bliss. > > > >Question: > > > >If ignorance is Bliss, then is Ada born of ignorance? > > > >;-) > > Marriage is bliss. > Ignorance is bliss. > Therefore, marriage is ignorance. > > Yeah, yeah, yeah. We've heard all the jokes before. > > -- > VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM > > city, n., 1. a place where trees are cut down and streets are named after them. If GNAT is the official Ada compiler on VMS what is the implementation language of the Ada front-end? ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-07 2:53 ` Christof Brass @ 2001-03-07 3:27 ` Robert Deininger 2001-03-07 14:33 ` Bill Gunshannon 1 sibling, 0 replies; 168+ messages in thread From: Robert Deininger @ 2001-03-07 3:27 UTC (permalink / raw) In article <3AA5A295.13372D92@infopuls.com>, Christof Brass <brass@infopuls.com> wrote: > If GNAT is the official Ada compiler on VMS what is the implementation language of the Ada front-end? I believe GNAT is written in Ada. -- Robert Deininger rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-07 2:53 ` Christof Brass 2001-03-07 3:27 ` Robert Deininger @ 2001-03-07 14:33 ` Bill Gunshannon 1 sibling, 0 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-03-07 14:33 UTC (permalink / raw) In article <3AA5A295.13372D92@infopuls.com>, Christof Brass <brass@infopuls.com> writes: |> |> If GNAT is the official Ada compiler on VMS what is the implementation language of the Ada front-end? GNAT was originally written in C, but in the current version the frontend is written in Ada95 and the backend remains GCC. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-06 19:24 ` Bill Gunshannon 2001-03-06 21:53 ` Larry Kilgallen @ 2001-03-07 14:21 ` Jan Vorbrueggen 2001-03-13 7:49 ` Fred Zwarts 2 siblings, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-03-07 14:21 UTC (permalink / raw) bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > |> All granted. But the claim was "Ada has orders of magnitude more > |> complexity than C", and I was looking for zeroth order effects. > |> The data do not bear out the allegation at all, IMNSHO. > Well, I'm the one who made the above statement and I stand by it. But > I hardly expected people would compare the binaries of the compilers. > I can change the size of a binary by an order of magnitude with one > additional option. Of course, by including all debug symbols and linking everything statically. Are you seriously proposing that is the case for the compilers in question? Saying "orders of magnitude" means at least two, i.e., a factor of 100. If your complexity measure is worth anything, there will be at least a strong correlation in compiler code size - because it has to handle all that complexity - and language complexity. There is no such correlation in the data presented. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-06 19:24 ` Bill Gunshannon 2001-03-06 21:53 ` Larry Kilgallen 2001-03-07 14:21 ` Jan Vorbrueggen @ 2001-03-13 7:49 ` Fred Zwarts 2001-03-13 16:12 ` John Reagan 2 siblings, 1 reply; 168+ messages in thread From: Fred Zwarts @ 2001-03-13 7:49 UTC (permalink / raw) "Bill Gunshannon" <bill@triangle.cs.uofs.edu> wrote in message news:983dhi$2pr2$1@info.cs.uofs.edu... > Of course, another interesting question is, What language is the DEC > Ada compiler written in?? I know what language the real C compilers > are written in. > If I remember correctly the first VAX Ada compiler was written in PLI. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-13 7:49 ` Fred Zwarts @ 2001-03-13 16:12 ` John Reagan 0 siblings, 0 replies; 168+ messages in thread From: John Reagan @ 2001-03-13 16:12 UTC (permalink / raw) Fred Zwarts wrote: > > > If I remember correctly the first VAX Ada compiler was written in PLI. You remember incorrectly. Its in BLISS (and perhaps some Ada). However, VAX Ada does use the VCG and parts of that are indeed in PLI so we can both be right. :-) -- John Reagan Compaq Pascal Project Leader ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 13:52 ` Bill Gunshannon 2001-03-01 15:13 ` Jan Vorbrueggen @ 2001-03-01 16:58 ` Robert Deininger 2001-03-01 21:45 ` JF Mezei 2 siblings, 0 replies; 168+ messages in thread From: Robert Deininger @ 2001-03-01 16:58 UTC (permalink / raw) In article <97lk6a$1p33$2@info.cs.uofs.edu>, bill@cs.scranton.edu wrote: > Why would you not trust one compiler any more than another?? This makes > absolutely no sense. Are you saying that just because the language is C > the guys in the DEC Compiler Engineering Group are somehow sloppier or > more careless?? I would be more likely to mistrustt he Ada compiler based > solely on the several orders of magnitude more complex it is. One point in Ada's favor: the language has always had an extensive suite of vaildation tests. Some subtle bugs have slipped through, which should then lead to additions to the validation suite. The expectation is that any production Ada compiler passes the entire suite, on the specific platform in question. This is rather more than most languages offer, AFAIK. -- Robert Deininger rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 13:52 ` Bill Gunshannon 2001-03-01 15:13 ` Jan Vorbrueggen 2001-03-01 16:58 ` Robert Deininger @ 2001-03-01 21:45 ` JF Mezei 2 siblings, 0 replies; 168+ messages in thread From: JF Mezei @ 2001-03-01 21:45 UTC (permalink / raw) Bill Gunshannon wrote: > Why would you not trust one compiler any more than another?? This makes > absolutely no sense. Are you saying that just because the language is C > the guys in the DEC Compiler Engineering Group are somehow sloppier or > more careless?? No, not at all. I mistrust the compiler's interpretation of my wishes. In the case of ansi-C, I very much dislike the inability to use the & symbol on some constructs because it then makes it less obvious that you really want to pass a pointer. Similarly, pointer arithmetic is something I often check when dealing with non-char constructs to make sure that the + 1 does what I reall want. I prefer using a printf statement to test how the compiler has interpreted my wishes than trying to figure out with the manuals what the precedence and conversions rules are prior to compiling. Some may call it trial-and-error, and otherts mightcall it quality control. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 14:58 ` Robert Deininger ` (2 preceding siblings ...) 2001-02-28 20:19 ` JF Mezei @ 2001-03-01 3:40 ` Christof Brass 2001-03-01 5:52 ` Robert Deininger 3 siblings, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-03-01 3:40 UTC (permalink / raw) Robert Deininger wrote: [SNIP] > Ada _is_ a lot bigger than C, but it does much more. From the > programmer's point of view, you don't have to learn parts you don't need. > There is a fairly concise C-like subset (with somewhat fuzzy boundaries) > for example. Of course the compiler implementor has to deal with the > whole language. Ada is also more specific than C -- the implementor has > much less discretion in how a feature must behave. Could comment about size of Ada compared to C++? [SNIP] > If you spend time reading the Ada literature (or Eiffel, probably others), > you will find that this has been measured, and refuted. C really is more > error prone. Briefly, you are probably right about speed of initial > coding. But not about error rates. True. > > Don't really want to start a language war. I hope it's not too late. > > -- > Robert Deininger > rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 3:40 ` Christof Brass @ 2001-03-01 5:52 ` Robert Deininger 0 siblings, 0 replies; 168+ messages in thread From: Robert Deininger @ 2001-03-01 5:52 UTC (permalink / raw) In article <3A9DC498.63FBE87A@infopuls.com>, Christof Brass <brass@infopuls.com> wrote: > Could comment about size of Ada compared to C++? My impression is that C++ is "bigger", especially after the last round or two of additions. But it is difficult to specify a reasonable measure. Should we include the standard libraries in addition to the language? C++ loses much of C's claim to compactness and simplicity, IMHO. -- Robert Deininger rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 14:22 ` Bill Gunshannon 2001-02-28 14:33 ` John Reagan 2001-02-28 14:58 ` Robert Deininger @ 2001-03-01 3:33 ` Christof Brass 2001-03-01 6:03 ` JF Mezei 2 siblings, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-03-01 3:33 UTC (permalink / raw) Bill Gunshannon wrote: > > In article <cCYm6.1296$CP4.299029@paloalto-snr1.gtei.net>, > "Rick Cadruvi" <rick@rdperf.com> writes: [SNIP] > |> > |> 4. Use of "==" for compares. It's WAY too easy to put in "=" > |> instead. In fact, I usually do a specialized search of ALL > |> my code before the first compile just to try and catch these. > > Well, you need two symbols for "equals", comparison and assignment. > That is what the "=" means. Anything else would be non-intuitve. > Question: What does ":" have to do with equality?? And yes, when ":" has nothing to do with equality - also in Pascal ":" has nothing to do with equality. a := 5 is an assignment. > we used to use Pascal as our beginning language here one of the most > common coding errors was leaving out those pesky ":". Using double Using Pascal as your beginning language would not lead to this mistake because you learned it that way. > "=" for comparison is very intuitve when you consider that every > other comparison that involves equality consists of a digraph with > at least one "=". (ie. ">=", "<=", "!=") For every educated person this is completely counter intuitive because you never use two characters for comparison operators if you write them by hand e.g. <, =, >, <_ (as one character, or <= as one) a.s.o. > > |> > |> My ideal language would probably be mostly a combination of BLISS and C. > > There is no such thing as "the ideal language". Ada was an attempt to > create (by committee no less!) a language that could be used for everything. > The result is a bloated monster that requires so much in resources that > it was never practical for small machines (and even some large ones like > PDP-11's). Most languages were created to fill a discovered need at the > time of their creation. A big part of Systems Analysis is identifying the > problem accurately and then picking the right tool for the job. Everything > is not a nail so you need more in your toolbox than a hammer. Unfortunately there are some stone aged tools around which don't make any sense in a world of micro chips. [SNIP] > This I don't agree with. In most cases, the actual coding is the smallest > part of the project. (at least well designed projects) It takes no longer > for an experienced C programmer to code a task in C than it would take an > experienced Ada programmer to do it in Ada. And believe it or not, regardless > of the language used, programmers of the same level of experience will make > an equivalent number of mistakes. It isn't the language that makes the > mistakes. You are completely wrong according to practice and statistics. Read the material available in the Web e.g. from Rational. > |> Progrmaming Languages are just part of the tool set programmers use to solve > |> problems. What we really do is we solve problems. The code writing is > |> merely > |> a clerical function through which we express those solutions. > > True. > > All the best. > > bill > > -- > Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves > bill@cs.scranton.edu | and a sheep voting on what's for dinner. > University of Scranton | > Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 3:33 ` Christof Brass @ 2001-03-01 6:03 ` JF Mezei 2001-03-01 17:11 ` Rick Cadruvi 0 siblings, 1 reply; 168+ messages in thread From: JF Mezei @ 2001-03-01 6:03 UTC (permalink / raw) Christof Brass wrote: > For every educated person this is completely counter intuitive because you never use two characters for comparison operators if you write them by hand e.g. <, =, >, <_ (as one character, or <= as one) a.s.o. I showed my 9 year old nephew how to write a simple program (in DCL nonetheless !). His biggest problem was undestanding why "*" was used for multiplication instead of "x". So the arguments as to what is more "natural" between := and == and = is rather moot in my opinion. You learn how a language works and use it that way. My nephew made me realise just how "unnatural" the "*" is, yet, I have yet to hear someone here complain about that. We get used to a certain syntax in a certain context. Just as DCL makes a difference between = and ==. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 6:03 ` JF Mezei @ 2001-03-01 17:11 ` Rick Cadruvi 2001-03-01 23:28 ` Christof Brass 0 siblings, 1 reply; 168+ messages in thread From: Rick Cadruvi @ 2001-03-01 17:11 UTC (permalink / raw) > We get used to a certain syntax in a certain context. Just as DCL makes a > difference between = and ==. One of the nice things about BLISS (eql, neq, lss, gtr, etc...) One of the BAD things about C is all the coding shortcuts (like (?:) and pre/post decrement). It seems to me that this discussion has pointed out that much of our individual philosophies about programming enters into how we feel about language features along with past/present frustrations with a language. I also suspect that how much experience we have with a language makes a difference in how we feel about it. It would be interesting to have a discussion about programming philosophy and see how the Ada versus C/C++ discussion correlates to people's philosophy about how to write code in the first place. Rick Cadruvi... ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 17:11 ` Rick Cadruvi @ 2001-03-01 23:28 ` Christof Brass 2001-03-01 23:47 ` Rick Cadruvi 2001-03-02 1:11 ` Brian Schenkenberger, VAXman- 0 siblings, 2 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 23:28 UTC (permalink / raw) Rick Cadruvi wrote: > > > We get used to a certain syntax in a certain context. Just as DCL makes a > > difference between = and ==. > > One of the nice things about BLISS (eql, neq, lss, gtr, etc...) > > One of the BAD things about C is all the coding shortcuts > (like (?:) and pre/post decrement). > > It seems to me that this discussion has pointed out that much of our > individual philosophies about programming enters into how we feel > about language features along with past/present frustrations with a > language. I also suspect that how much experience we have with a > language makes a difference in how we feel about it. > > It would be interesting to have a discussion about programming philosophy > and see how the Ada versus C/C++ discussion correlates to people's > philosophy about how to write code in the first place. > > Rick Cadruvi... I explicitly said "educated person" as who I don't regard your 9 year old nephew. There *are* better and worse solutions for syntactic problems. One major problem was that the limited set of characters didn't provide enough symbols to come to a good solution. This is another reason why a PL has to evolve. Nowadays we should be able to use all necessary symbols as one 8 bit or unicode character by that eliminating a bunch of problems and discussions (e.g. neq vs <> vs != vs #). I'm personally convinced that *chosing* (as opposed to beeing forced to use) a PL says a lot about style and attitude of the programmer. Like it is chosing an OS. My experience is that most of C/C++ isn't worth the time it had needed to be written and isn't worth to be read by other people. The common C/C++ programmer is challanged and satisfied by mastering a clumsy syntax with error prone semantical constructs and by thinking to have total control about the compiler's code generation by using so called low level "optimisations". The C/C++ programmers fits to the UNIX guru - they share the same philosophy. The spirit of VMS is related to the spirit of Ada or MODULA-3 (a very high quality DEC language) i.e. clearness of thoughts expressed and reflected with the appropriate tools like DCL and TPU as opposed to csh or sed. Additionally to this philosophical point of view we have the brutal statistics telling us that C/C++ is the loser in productivity and quality like UNIX. Or PC compared to Mac. But I'm sure the majority of people (managers, sysadmins, programmers) is fond of wasting their and others time and feeling superior in mastering the mission impossible. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 23:28 ` Christof Brass @ 2001-03-01 23:47 ` Rick Cadruvi 2001-03-02 10:45 ` Paul Repacholi 2001-03-02 1:11 ` Brian Schenkenberger, VAXman- 1 sibling, 1 reply; 168+ messages in thread From: Rick Cadruvi @ 2001-03-01 23:47 UTC (permalink / raw) I think we finally get to the point. You must not work for others. I have met few programmers/situations where the choice could be made by the programmer as to language, OS, and other tools. As to worth, I suspect that the $$ value of C/C++ code significantly eclipses ANY other language. Take the value of MS products and UNIX products written in it alone and I think my case is made. Some of us have to live in the real world. Rick Cadruvi... > I'm personally convinced that *chosing* (as opposed to beeing forced to use) a PL says a lot about style and attitude of the programmer. Like it is chosing an OS. My experience is that most of C/C++ isn't worth the time it had needed to be written and isn't worth to be read by other people. The common C/C++ programmer is challanged and satisfied by mastering a clumsy syntax with error prone semantical constructs and by thinking to have total control about the compiler's code generation by using so called low level "optimisations". The C/C++ programmers fits to the UNIX guru - they share the same philosophy. > > The spirit of VMS is related to the spirit of Ada or MODULA-3 (a very high quality DEC language) i.e. clearness of thoughts expressed and reflected with the appropriate tools like DCL and TPU as opposed to csh or sed. > > Additionally to this philosophical point of view we have the brutal statistics telling us that C/C++ is the loser in productivity and quality like UNIX. Or PC compared to Mac. But I'm sure the majority of people (managers, sysadmins, programmers) is fond of wasting their and others time and feeling superior in mastering the mission impossible. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 23:47 ` Rick Cadruvi @ 2001-03-02 10:45 ` Paul Repacholi 2001-03-02 18:52 ` Rick Cadruvi 0 siblings, 1 reply; 168+ messages in thread From: Paul Repacholi @ 2001-03-02 10:45 UTC (permalink / raw) "Rick Cadruvi" <rick@rdperf.com> writes: > I think we finally get to the point. You must not work for others. > I have met few programmers/situations where the choice could be made > by the programmer as to language, OS, and other tools. > As to worth, I suspect that the $$ value of C/C++ code significantly > eclipses ANY other language. Take the value of MS products and UNIX > products written in it alone and I think my case is made. Some of > us have to live in the real world. I'd agree about the COST of C/C++. The value is much lower. Your reference to M$ and unix seals the point I think. In fact, with the support costs included, I think you could argue that the 'value' is in fact negative. -- Paul Repacholi 1 Crescent Rd., +61 (08) 9257-1001 Kalamunda. West Australia 6076 Raw, Cooked or Well-done, it's all half baked. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-02 10:45 ` Paul Repacholi @ 2001-03-02 18:52 ` Rick Cadruvi 2001-03-03 1:42 ` Christof Brass 0 siblings, 1 reply; 168+ messages in thread From: Rick Cadruvi @ 2001-03-02 18:52 UTC (permalink / raw) > I'd agree about the COST of C/C++. The value is much lower. Your > reference to M$ and unix seals the point I think. In fact, with the > support costs included, I think you could argue that the 'value' is in > fact negative. > Actually I wouldn't agree. The sales numbers don't bear that out. The majority of the revenues derived in the software industry as a whole are for products written in C/C++. I'm not saying that it should be, but that's the reality. Rick... ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-02 18:52 ` Rick Cadruvi @ 2001-03-03 1:42 ` Christof Brass 0 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-03 1:42 UTC (permalink / raw) Rick Cadruvi wrote: > > Paul Repacholi wrote: > > > I'd agree about the COST of C/C++. The value is much lower. Your > > reference to M$ and unix seals the point I think. In fact, with the > > support costs included, I think you could argue that the 'value' is in > > fact negative. > > > Actually I wouldn't agree. The sales numbers don't bear that out. > The majority of the revenues derived in the software industry as a > whole are for products written in C/C++. I'm not saying that it > should be, but that's the reality. > > Rick... I agree to Pauls statement. But the number/value/cost is not important. This is a mere statistical argument which doesn't help anything without analysis. To aspects have to be regarded: almost all C/C++ programs/libraries/OSs are a collection of bugs especially UNIX/Linux and Micro$oft's programs and OSs. It's a big difference if you start programming with an unsafe language like C/C++ or if you learn and are beeing taught a safe language like Pascal first. You can this observe with Apple. In the first years their SW was Pascal biased e.g. the Macintosh system managers which would nowadays be called APIs. But with moving to C/C++ the quality went down but not that fast and that low because most of the Apple software developers knew how to program in a safe language and they used this skill even in C/C++. Do you know what a "vision" is? ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 23:28 ` Christof Brass 2001-03-01 23:47 ` Rick Cadruvi @ 2001-03-02 1:11 ` Brian Schenkenberger, VAXman- 2001-03-02 5:06 ` Rick Cadruvi 2001-03-02 10:32 ` Brian Schenkenberger, VAXman- 1 sibling, 2 replies; 168+ messages in thread From: Brian Schenkenberger, VAXman- @ 2001-03-02 1:11 UTC (permalink / raw) In article <97mn3e$kva@dispatch.concentric.net>, "Rick Cadruvi" <rick@rdperf.com> writes: >I think we finally get to the point. You must not work for others. I have >met few >programmers/situations where the choice could be made by the programmer as >to language, OS, and other tools. > >As to worth, I suspect that the $$ value of C/C++ code significantly >eclipses ANY >other language. Take the value of MS products and UNIX products written in >it >alone and I think my case is made. Some of us have to live in the real >world. > >Rick Cadruvi... There is more to life than $$$, Rick. -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM city, n., 1. a place where trees are cut down and streets are named after them. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-02 1:11 ` Brian Schenkenberger, VAXman- @ 2001-03-02 5:06 ` Rick Cadruvi 2001-03-02 10:32 ` Brian Schenkenberger, VAXman- 1 sibling, 0 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-03-02 5:06 UTC (permalink / raw) Brian, I agree, but there are the ex-wives, several mortgages, kids in college, and a few other nuts to crack. I don't have the luxury of not worrying about the money. My comment was really directed at the notion that programmers worth anything choose their language and OS and that there isn't any code worth looking at written in C/C++. I agree in an ideal world we would write our software in some WAY better language. I have long wanted to write my own language with all the things I want. I almost did it before I realized that RISC and all the implications of multi-issue instructions and whatever, were going to make keeping my language running on every platform I might need to run on a MAJOR task. Maybe I just got old along the way and got tired of fighting. Now I just want to get the job done and NOT have to come back and fix it later. I learned to write good code and change how I do things rather than depending on the language to keep me safe. Rick... "Brian Schenkenberger, VAXman-" <system@SendSpamHere.ORG> wrote in message news:009F8614.53205468@SendSpamHere.ORG... > In article <97mn3e$kva@dispatch.concentric.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > >I think we finally get to the point. You must not work for others. I have > >met few > >programmers/situations where the choice could be made by the programmer as > >to language, OS, and other tools. > > > >As to worth, I suspect that the $$ value of C/C++ code significantly > >eclipses ANY > >other language. Take the value of MS products and UNIX products written in > >it > >alone and I think my case is made. Some of us have to live in the real > >world. > > > >Rick Cadruvi... > > There is more to life than $$$, Rick. > -- > VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM > > city, n., 1. a place where trees are cut down and streets are named after them. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-02 1:11 ` Brian Schenkenberger, VAXman- 2001-03-02 5:06 ` Rick Cadruvi @ 2001-03-02 10:32 ` Brian Schenkenberger, VAXman- 2001-03-06 20:47 ` bob.marcan 1 sibling, 1 reply; 168+ messages in thread From: Brian Schenkenberger, VAXman- @ 2001-03-02 10:32 UTC (permalink / raw) In article <97n9o9$jha@dispatch.concentric.net>, "Rick Cadruvi" <rick@rdperf.com> writes: >Brian, > >I agree, but there are the ex-wives, Ok, I've none of those... > several mortgages, One of those with little left to go... > kids in college, and Why should this cost you? I placed myself through college and I do not see why my children cannot do the same. >a few other nuts to crack. I don't have the luxury of not worrying about >the money. Neither do I; however, since a schmuck has all of mine, no amount of fret and worry will bring it back. Stress is a serious detriment to one's health and can be far costlier than the money causes it. >My comment was really directed at the notion that programmers worth anything >choose their language and OS and that there isn't any code worth looking at >written >in C/C++. "programmers worth anything" should be involved in the projects they're coding from the management levels on down. I remember the migration in the early '80s to C. The C proselytes were preaching mass rewrites to make everything peachy. One project I was close to at that time was a project written in Fortran with very heavy real and complex computation involved. The proselytes convinced the management that a C rewrite of the entire project would speed up the end product enormously. The money was allocated. Some of the senior old programmers were retained to help explain certain areas to the new C proselytes recoding the project. In a year and half time, the C rewrite was complete. Benchmarks showed the code was more than three times slower. My guess was all of the overhead to call library functions to do the real and complex math that was just a simple in-line in the Fortran. Yes, newer compilers would likely have better optimizations to deal with such issues and, today, the C rewrite might (?) be at par or even faster than the original. The problem is bandwagoneering. All of my neighbors are installing swimming pools so I have to too mentality. Anyway, this whole thread is getting silly and stupid. It's akin to, if not worse than, the religious OS wars that errupt here from time to time. -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM city, n., 1. a place where trees are cut down and streets are named after them. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-02 10:32 ` Brian Schenkenberger, VAXman- @ 2001-03-06 20:47 ` bob.marcan 0 siblings, 0 replies; 168+ messages in thread From: bob.marcan @ 2001-03-06 20:47 UTC (permalink / raw) Similar story from my friends: Commercial application written in pascal on VMS: all io done with home grown RMS libraries, home grown decimal arithmetic, MACRO, lot of heavy optimizations. Everything was fast as if it was written in COBOL! Why this was not coded in COBOL? Need to learn it. Best regards, Bob "Brian Schenkenberger, VAXman-" wrote: > > In article <97n9o9$jha@dispatch.concentric.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > >Brian, > > > >I agree, but there are the ex-wives, > > Ok, I've none of those... > > > several mortgages, > > One of those with little left to go... > > > kids in college, and > > Why should this cost you? I placed myself through college and I do not > see why my children cannot do the same. > > >a few other nuts to crack. I don't have the luxury of not worrying about > >the money. > > Neither do I; however, since a schmuck has all of mine, no amount of fret > and worry will bring it back. Stress is a serious detriment to one's > health and can be far costlier than the money causes it. > > >My comment was really directed at the notion that programmers worth anything > >choose their language and OS and that there isn't any code worth looking at > >written > >in C/C++. > > "programmers worth anything" should be involved in the projects they're > coding from the management levels on down. I remember the migration in > the early '80s to C. The C proselytes were preaching mass rewrites to > make everything peachy. One project I was close to at that time was a > project written in Fortran with very heavy real and complex computation > involved. The proselytes convinced the management that a C rewrite of > the entire project would speed up the end product enormously. The money > was allocated. Some of the senior old programmers were retained to help > explain certain areas to the new C proselytes recoding the project. In > a year and half time, the C rewrite was complete. Benchmarks showed the > code was more than three times slower. My guess was all of the overhead > to call library functions to do the real and complex math that was just > a simple in-line in the Fortran. > > Yes, newer compilers would likely have better optimizations to deal with > such issues and, today, the C rewrite might (?) be at par or even faster > than the original. The problem is bandwagoneering. All of my neighbors > are installing swimming pools so I have to too mentality. > > Anyway, this whole thread is getting silly and stupid. It's akin to, if > not worse than, the religious OS wars that errupt here from time to time. > > -- > VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM > > city, n., 1. a place where trees are cut down and streets are named after them. -- Bob Marcan mailto:bob.marcan@aster.si Aster tel: +386 (1) 5894-329 Nade Ovcakove 1 fax: +386 (1) 5894-201 1000 Ljubljana, Slovenia http://www.aster.si ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 1:36 ` Rick Cadruvi 2001-02-28 13:48 ` LJEB 2001-02-28 14:22 ` Bill Gunshannon @ 2001-02-28 15:03 ` Per Schr�der 2001-02-28 16:50 ` Rick Cadruvi 2001-02-28 17:48 ` Bob Koehler ` (2 subsequent siblings) 5 siblings, 1 reply; 168+ messages in thread From: Per Schr�der @ 2001-02-28 15:03 UTC (permalink / raw) "Rick Cadruvi" <rick@rdperf.com> wrote in <cCYm6.1296$CP4.299029@paloalto-snr1.gtei.net>: > 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able > to fall through to the next CASE in a SWITCH statement. The > default should be BREAK and allow specifying CONTINUE if you > want to drop through. THIS IS A BIG PROBLEM!!! > NO! This is a feature! Use it to exploit the statement skip feature in C. An example of perfectly valid C code can illustrate this: #include <stdio.h> void main() { int n=2; char *p; switch (n) { case 1: p = "one"; if (0) case 2: p = "two"; if (0) case 3: p = "three"; printf("%s", p); break; } } ;-) /Per ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 15:03 ` Per Schr�der @ 2001-02-28 16:50 ` Rick Cadruvi 0 siblings, 0 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-28 16:50 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1178 bytes --] I'm not arguing that you shouldn't be able to fall down to the next CASE. I'm arguing that allowing CONTINUE for that makes more sense since most SWITCH/CASE statements don't want to fall through, but intend to BREAK. rick... "Per Schr�der" <per@nospam.mimer.se> wrote in message news:Xns905699EBF1261pescatmimer@192.71.97.199... > "Rick Cadruvi" <rick@rdperf.com> wrote in > <cCYm6.1296$CP4.299029@paloalto-snr1.gtei.net>: > > 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able > > to fall through to the next CASE in a SWITCH statement. The > > default should be BREAK and allow specifying CONTINUE if you > > want to drop through. THIS IS A BIG PROBLEM!!! > > > > NO! > This is a feature! Use it to exploit the statement skip feature in C. An > example of perfectly valid C code can illustrate this: > > #include <stdio.h> > > void main() > { > int n=2; > char *p; > switch (n) > case 1: > p = "one"; > if (0) > case 2: > p = "two"; > if (0) > case 3: > p = "three"; > printf("%s", p); > break; > } > } > > > > ;-) > > /Per ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 1:36 ` Rick Cadruvi ` (2 preceding siblings ...) 2001-02-28 15:03 ` Per Schr�der @ 2001-02-28 17:48 ` Bob Koehler 2001-02-28 18:26 ` Bill Gunshannon 2001-03-01 13:41 ` Bob Koehler 2001-02-28 18:22 ` Larry Kilgallen 2001-03-01 1:39 ` Christof Brass 5 siblings, 2 replies; 168+ messages in thread From: Bob Koehler @ 2001-02-28 17:48 UTC (permalink / raw) In article <97j1jq$g00$1@info.cs.uofs.edu>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > Well, you need two symbols for "equals", comparison and assignment. > That is what the "=" means. No, "=" does not mean "equals". Not in any progamming language I've ever used. In C, C++, Java, and Fortran it means the exression on the left gets the value on the right. In some other langauge it means compare for equality. If "=" meant "equals", the following statement would be illegal: a = a + 1 ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 17:48 ` Bob Koehler @ 2001-02-28 18:26 ` Bill Gunshannon 2001-03-01 13:41 ` Bob Koehler 1 sibling, 0 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-02-28 18:26 UTC (permalink / raw) In article <UD5lzBTgT+T4@eisner.encompasserve.org>, koehler@encompasserve.org (Bob Koehler) writes: |> In article <97j1jq$g00$1@info.cs.uofs.edu>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: |> |> > Well, you need two symbols for "equals", comparison and assignment. |> > That is what the "=" means. |> |> No, "=" does not mean "equals". Not in any progamming language I've |> ever used. In the statement above I put it in quotes to try to force the implication that I was using it n the english and not the technical sense. When one is reading a statement in english and encounters the "=" symbol they say equals regardless of which meaning is intended. |> In C, C++, Java, and Fortran it means the exression on the |> left gets the value on the right. In some other langauge it means |> compare for equality. And in PL/1 it meant both, just like it does in english. Example: IF START = NULL THEN START = CURRENT_PRODUCT_PTR; (code fragment from "PL/I Structured Programming" by Joan K. Hughes) |> |> If "=" meant "equals", the following statement would be illegal: |> |> a = a + 1 If I were reading that statement to you in english I would say, " a equals a plus one ". Funny thing that english. Many teachers have this penchant for using the term "gets" for that usage, but that is jargon and is pretty much meaningless outside of a very small inner circle. People just don't talk that way. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 17:48 ` Bob Koehler 2001-02-28 18:26 ` Bill Gunshannon @ 2001-03-01 13:41 ` Bob Koehler 1 sibling, 0 replies; 168+ messages in thread From: Bob Koehler @ 2001-03-01 13:41 UTC (permalink / raw) In article <97jfrt$l7u$2@info.cs.uofs.edu>, bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > > In the statement above I put it in quotes to try to force the implication > that I was using it n the english and not the technical sense. When one > is reading a statement in english and encounters the "=" symbol they say > equals regardless of which meaning is intended. Nonsequitur. We're talking about programming languages. English need not apply. Only technical facts are relavent. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 1:36 ` Rick Cadruvi ` (3 preceding siblings ...) 2001-02-28 17:48 ` Bob Koehler @ 2001-02-28 18:22 ` Larry Kilgallen 2001-03-01 1:39 ` Christof Brass 5 siblings, 0 replies; 168+ messages in thread From: Larry Kilgallen @ 2001-02-28 18:22 UTC (permalink / raw) In article <rdeininger-2802010958090001@user-2ive673.dialup.mindspring.com>, rdeininger@mindspring.com (Robert Deininger) writes: > The backdoors in Ada aren't obsure or hard to understand. There was an > effort to make use of backdoors (unchecked deallocation, unchecked > conversion ...) very explicit and obvious to the reader. And you don't > need such things very often in Ada. Most programs never see them. I > think they are most often abused by people trying to write C code using > Ada syntax. That does lead to horrible code in a hurry. I have found significant uses for UNCHECKED_CONVERSION and also for UNCHECKED_DEALLOCATION, but I try to follow the "spirit" of Ada in my instantiations with name choices such as: function UNCHECKED_LONGWORD_TO_POINTER is new UNCHECKED_CONVERSION ... so at each _use_ I am reminded that I am using UNCHECKED_CONVERSION. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 1:36 ` Rick Cadruvi ` (4 preceding siblings ...) 2001-02-28 18:22 ` Larry Kilgallen @ 2001-03-01 1:39 ` Christof Brass 2001-03-01 9:38 ` Jan Vorbrueggen 5 siblings, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-03-01 1:39 UTC (permalink / raw) Rick Cadruvi wrote: > > "Christof Brass" <brass@infopuls.com> wrote in message > news:3A9C2B88.8032D829@infopuls.com... > > I don't think it is a good idea to come up with a list of > > requirements and matching PLs because this will lead the > > discussion quickly to certain aspects of these PLs instead of > > talking about the big picture which is from my point of view: > > can it be possible that something created in the early days of > > our quick evolving area is still the best tool around?? Is C the > > wheel of PL science and practice? Is flying impossible? > > I disagree. You stated that using C/C++ was stupid (or something > to that affect) and that you couldn't write good code in it. Therefore. > naming other languages and their appropriate use is necessary for > the discussion. Since you won't suggest alternatives, you clearly > demonstrate an anti C/C++ bias that must be more emotionally > based than fact based. I haven't even heard your objections to > C/C++ except their age. Not quite accurate. The age combined with the fact that we are in a business which is young compared to other professions like machine construction or architecture let me think that using this stone age tool couldn't be the best. The objections against C and C++ are in general different although some of them pertain both. Before we dive into that discussion I would like to ask you what are the properties/qualities/attributes a good PL should have or should avoid. > > Believe me, I am NOT a defender of C. Unfortunately ;-) > There are many things I HATE > about C. Here's 4 of them: > > 1. Case Sensitivity. I am use to it, but I think it is a BIG > problem. tmp, TMP, Tmp, tMp, tmP, TMp, tMP should NOT refer > to different things. I like it and I don't like Pascal and Eiffel for the lack of case sensitivity. But this is mainly a matter of style, taste and cultural background. If you use a scripture which requires often to use uppercase letters depending of the semantics and sometimes even with different meaning if both ways are possible you will more likely vote for case sensitivity. > 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able > to fall through to the next CASE in a SWITCH statement. The > default should be BREAK and allow specifying CONTINUE if you > want to drop through. THIS IS A BIG PROBLEM!!! You are perfectly right. This is one of the stupidest things preserved in Java from the C/C++ heritage. > 3. BREAK. Break should be allowed from ALL Begin/End ({}) > constructs (including IF ELSE). You should also be able to > BREAK # where # is the number of Begin/End blocks you want > to break out of. I strongly disagree - at least with the second and third proposal, because this will inadvertantly lead to mistakes which are easy to overlook especially in other people's sources if the code is re-aranged and equipped with more nesting levels or other control sequences. > 4. Use of "==" for compares. It's WAY too easy to put in "=" > instead. In fact, I usually do a specialized search of ALL > my code before the first compile just to try and catch these. You are perfectly right. This is one of the stupidest things preserved in Java from the C/C++ heritage. > However, C is currently one of the most practical development languages > because you have a large pool of people who know it and can be brought > in to a project to work on it. This is VERY important in commercially > viable software. Also, it is portable if the programmer isn't too careless. > You always have to assume your code will need to run on another platform/OS. I don't agree. Firstly a good programmer can learn a good PL in a few days. I don't discuss the library question because this is a no issue (*all* good companies I know of wrote their own libraries and forbid the programmers to directly use the so called standard libraries because of bugs, not portable behaviour or missing functionality - a C library is something like God: a term which pretends that the denoted thing exists or has a specific quality but in fact doesn't exist or doesn't provide what it pretends). Secondly, portability is a no issue. If you strive for portability you will have to solve a lot and very different problems than using a/the C/C++ library. > My ideal language would probably be mostly a combination of BLISS and C. > However, I do mostly tools and System programming. Therefore, I am not > probably the best sample case for what makes a good programming language. > However, I have done just about every kind of programming from Accounting > packages, to OS code to embedded systems to realtime. Seems you a perfect test sample. I have to admit that I don't know BLISS a bit although I read some awkward comments in this NG related to the syntax. Not quite motivating. But I honor it as a main implementation language of VMS - it can't be that bad ;-) > One thing I don't want is a language to get in the way. A lot of newer > languages are designed to prevent programmers for doing things to keep them > from making mistakes. I understand this logic, but what you have is an effort > to over compensate because programmers were never taught to program well and > they write BAD code. While I partly agree I think it's more important what a language offers than what it prevents. PL design is always a compromise between power and complexity. Preventing from "stupid" mistakes or not to detect mistakes like the automatic type conversions in C++ is a good feature. Java is a better compromise if we only look at the "front end". > In order for a language to be useable, they invariably provide some "backdoor" > that allows you to do the things you really want to do. As a result, those > "backdoors" get abused. Along comes someone else who says they have to > do something new that removes that "backdoor". As more code is written in > the new language, it becomes clear that new "backdoors" have to be implemented > because the language is preventing complex things from being done or at > least is making them so difficult that they take too long. This was always my > problem with ADA. Time to implement a project is VERY important. It's one of the > BAD things with C/C++ in terms of applications development. While I completely follow your thread of thoughts I don't understand the last three sentences. What I understood is that you regard Ada as a PL which has too many safety belts slowing down development. But you stated that this is also a "BAD" thing with C/C++. From the previous sections and from my knowledge preventing the programmer from doing stupid things is *not* a major strength of C/C++. Basically I disagree. Preventing the programmer from doing bad things in Ada didn't prevent the good programmer from beeing very fast. Ada offers a lot of powerful features which really speeds up implementation. This is a major lack of C - no powerful features. > Progrmaming Languages are just part of the tool set programmers use to solve > problems. What we really do is we solve problems. The code writing is > merely a clerical function through which we express those solutions. Agreed. > Sure we should use better tools when they are there. However, better > programming languages will NEVER be a substitute for writing GOOD code. > The real problem we need to solve is making sure programmers learn how > to write code well to start with. Agreed. > That is NOT being taught in Universities. Disagreed. Depends on the university or technical school. > My own son is majoring in > computer engineering and his professors DON'T have a clue how to write > GOOD code. I am teaching him that and he is juggling writing GOOD code > with the CRAP the professors want. Teach me! What is GOOD code/source? > Hopefully he will learn from both and get the grades he wants and still be able to > write GOOD code when he finally goes to work for someone. However, his manager there won't > have a clue either and will insist he write BAD code because he doesn't know how to > write GOOD code and can't understand the benefits. > How many times do you still hear programmers justify the requirement that > all routines exit at the bottom, or insist it is more efficient to write > fewer large routines than many small routines to save a few routine calls. > As long as this ignorance persists, all the GREAT new programming languages > won't solve the problem. I never heard this. But I read that the automatic tools for assessing source quality have miserably failed and AFAIK they aren't around anymore. I personally think that we are still in a transition phase from art to science and writing good programs needs creativity and knowledge which cannot be measured. > When I even think about using an ELSE statement, I force myself to justify > it's use. > Most programmers think using ELSEs is really great and liberally do nested > IF then ELSEs. They do right. Why shouldn't they? > Teach programmers to write code well, and new progrmaming languages will > evolve that help us solve the problems better and not ones that prevent us > from doing things we shouldn't do in the first place unless they are REALLY > required. > > just my opinions, > > Rick Cadruvi... We shouldn't look at bad programmers or bad programming style. The best PL is a PL which allows the high quality programmer to write high quality programms in shortest time. What is good program source? ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 1:39 ` Christof Brass @ 2001-03-01 9:38 ` Jan Vorbrueggen 2001-03-01 17:20 ` Rick Cadruvi 0 siblings, 1 reply; 168+ messages in thread From: Jan Vorbrueggen @ 2001-03-01 9:38 UTC (permalink / raw) Christof Brass <brass@infopuls.com> writes: > Secondly, portability is a no issue. If you strive for portability you will > have to solve a lot and very different problems than using a/the C/C++ > library. Nonsense. Partablility in all its colours is _the_ issue. Why did IBM invent S/370? To achieve portability. Why were "higher" programming langauges invented? To achieve portability. Why were OSes invented? X windows? Tcl/Tk? Posix? and so on... I can tell you from personal experince that if you haven't made at least one application run on about half a dozen platforms, you haven't had a chance to understand what your programming language (we're talking C, C++, Fortran, Ada, Pascal, ... here) really means, what is part of the standardized semantics and what is implementation dependent. Very sobering. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 9:38 ` Jan Vorbrueggen @ 2001-03-01 17:20 ` Rick Cadruvi 2001-03-01 23:38 ` Christof Brass 0 siblings, 1 reply; 168+ messages in thread From: Rick Cadruvi @ 2001-03-01 17:20 UTC (permalink / raw) True. I am always amazed at the failure of programmers, even when instructed to isolate OS depencenies, to understand what things are dependent. Besides writing code that runs on several platforms, try writing code that will work in USER and KERNEL mode and all of a sudden the liberal use of C runtime libraries goes away. This actually points out one of the strengths of a language like C or BLISS. They don't have a lot of builtin features. As a result, you can do a LOT, but you have to write more code to do so than in other languages. That's why C is not well suited for applications development, but quite suited for Systems work. Rick Cadruvi... "Jan Vorbrueggen" <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote in message news:y4n1b5zv5c.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de... > Christof Brass <brass@infopuls.com> writes: > > > Secondly, portability is a no issue. If you strive for portability you will > > have to solve a lot and very different problems than using a/the C/C++ > > library. > > Nonsense. Partablility in all its colours is _the_ issue. Why did IBM invent > S/370? To achieve portability. Why were "higher" programming langauges > invented? To achieve portability. Why were OSes invented? X windows? Tcl/Tk? > Posix? and so on... > > I can tell you from personal experince that if you haven't made at least one > application run on about half a dozen platforms, you haven't had a chance to > understand what your programming language (we're talking C, C++, Fortran, Ada, > Pascal, ... here) really means, what is part of the standardized semantics and > what is implementation dependent. Very sobering. > > Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 17:20 ` Rick Cadruvi @ 2001-03-01 23:38 ` Christof Brass 0 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 23:38 UTC (permalink / raw) Rick Cadruvi wrote: > > True. I am always amazed at the failure of programmers, even when > instructed > to isolate OS depencenies, to understand what things are dependent. > > Besides writing code that runs on several platforms, try writing code that > will > work in USER and KERNEL mode and all of a sudden the liberal use of > C runtime libraries goes away. This actually points out one of the > strengths of > a language like C or BLISS. They don't have a lot of builtin features. As > a > result, you can do a LOT, but you have to write more code to do so than in > other languages. That's why C is not well suited for applications > development, > but quite suited for Systems work. > > Rick Cadruvi... > > "Jan Vorbrueggen" <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote in > message news:y4n1b5zv5c.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de... > > Christof Brass <brass@infopuls.com> writes: > > > > > Secondly, portability is a no issue. If you strive for portability you will > > > have to solve a lot and very different problems than using a/the C/C++ > > > library. > > > > Nonsense. Partablility in all its colours is _the_ issue. Why did IBM invent > > S/370? To achieve portability. Why were "higher" programming langauges > > invented? To achieve portability. Why were OSes invented? X windows? Tcl/Tk? > > Posix? and so on... > > > > I can tell you from personal experince that if you haven't made at least one > > application run on about half a dozen platforms, you haven't had a chance to > > understand what your programming language (we're talking C, C++, Fortran, Ada, > > Pascal, ... here) really means, what is part of the standardized semantics and > > what is implementation dependent. Very sobering. > > > > Jan Been there, done that, sigh. Sorry, both of you deliver arguments in favour of my statement which leads to the conclusion that both of you didn't understand the implications of what I wrote. Portability is nothing in favour or against most PLs!! That's why it is an no issue wrt our discussion. Of course, I know we need the language to be there or to have a cross development system to be able to port a program. But there are hundreds of languages available of dozens of OSs and there is no portability excuse for chosing C/C++. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-27 21:13 ` Rick Cadruvi 2001-02-27 22:34 ` Christof Brass @ 2001-02-28 12:39 ` Bill Gunshannon 1 sibling, 0 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-02-28 12:39 UTC (permalink / raw) In article <ZLUm6.1046$CP4.192534@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: |> And I thought ADA was dead. Silly me. Not a language I would choose, but |> obviously some people must like it. I find it telling that DOD no longer |> requires |> it for contracts. Just as another data point. We used Ada for our early programming courses until last semester. It is now being phased out in favor of Java (and you think C/C++ is bad!!) The last course using Ada is being taught this semester and starting this summer I will no longer be installing Ada on lab machines at all. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-27 1:26 ` Drop C/C++ better sooner than later Christof Brass 2001-02-27 2:47 ` Rick Cadruvi [not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <wrCvgGxaSLv9@eisner.encompasserve.org> @ 2001-02-27 23:00 ` Larry Kilgallen 2001-02-28 0:12 ` Brian Schenkenberger, VAXman- ` (4 subsequent siblings) 7 siblings, 0 replies; 168+ messages in thread From: Larry Kilgallen @ 2001-02-27 23:00 UTC (permalink / raw) In article <ZLUm6.1046$CP4.192534@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > And I thought ADA was dead. Silly me. Not a language I would choose, but > obviously some people must like it. I find it telling that DOD no longer > requires > it for contracts. ADA is the Americans with Disabilities Act. ADA is the American Dental Association. ADA is the Americans for Democratic Action. and probably a few more. Ada is a programming language. Ada was the given name of Lady Lovelace, who programmed for Charles Babbage. Ada is a town in the US Midwest. Indeed, forcing a specific language on products who do not want it is counter productive. These days Ada is used in the new software for the New York City subway, the Boeing 777 avionics, multiple European rail and air traffic control projects, and yes, military projects. http://www.seas.gwu.edu/~mfeldman/ada-project-summary.html ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-27 1:26 ` Drop C/C++ better sooner than later Christof Brass ` (2 preceding siblings ...) 2001-02-27 23:00 ` Larry Kilgallen @ 2001-02-28 0:12 ` Brian Schenkenberger, VAXman- 2001-02-28 13:56 ` Bill Gunshannon 2001-02-28 2:14 ` Larry Kilgallen ` (3 subsequent siblings) 7 siblings, 1 reply; 168+ messages in thread From: Brian Schenkenberger, VAXman- @ 2001-02-28 0:12 UTC (permalink / raw) In article <eYAawcfEii1k@eisner.encompasserve.org>, Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) writes: >In article <ZLUm6.1046$CP4.192534@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: >> And I thought ADA was dead. Silly me. Not a language I would choose, but >> obviously some people must like it. I find it telling that DOD no longer >> requires >> it for contracts. > >ADA is the Americans with Disabilities Act. >ADA is the American Dental Association. >ADA is the Americans for Democratic Action. >and probably a few more. American Diabetes Association >Ada is a programming language. >Ada was the given name of Lady Lovelace, who programmed for Charles Babbage. >Ada is a town in the US Midwest. > >Indeed, forcing a specific language on products who do not want it is >counter productive. These days Ada is used in the new software for >the New York City subway, the Boeing 777 avionics, multiple European >rail and air traffic control projects, and yes, military projects. > > http://www.seas.gwu.edu/~mfeldman/ada-project-summary.html I, for one, spent the years from the introduction of VAX/VMS through the release of OpenVMS VAX and Alpha V6.1 working for the DoD and, with the exception of a short couple of months when I worked on the Mars Observer, was never *required* to use Ada. The folks at GE decided, because they'd wanted to learn Ada, to use it for development on the MO. I have come a- cross Ada in more NON-military uses than I have in military. You can shoot yourself in the foot with any language you use but, unlike C and its bastard relatives, Ada doesn't load the gun and help you aim. -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM city, n., 1. a place where trees are cut down and streets are named after them. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 0:12 ` Brian Schenkenberger, VAXman- @ 2001-02-28 13:56 ` Bill Gunshannon 2001-02-28 15:11 ` Jan Vorbrueggen 2001-02-28 16:31 ` Rick Cadruvi 0 siblings, 2 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-02-28 13:56 UTC (permalink / raw) In article <009F8479.B6EC89DC@SendSpamHere.ORG>, system@SendSpamHere.ORG (Brian Schenkenberger, VAXman-) writes: |> |> |> You can shoot yourself in the foot with any language you use but, unlike |> C and its bastard relatives, Ada doesn't load the gun and help you aim. Sure it does. It just holds the gun behind it's back while it loads it. I have always said that most of the features of C that people complain about all the time are there becuase they are needed to do many serious system level task. Most languages that expect to see use as more than application languages that did not have these features end out having a vendor put them in as non-standard extensions (such as Pascal). Ada may have standardized them, but it still put them in. It just didn't make them visible or intuitively obvious. The textbook we used here had a whole chapter on how to shoot yourself in the foot using Ada. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 13:56 ` Bill Gunshannon @ 2001-02-28 15:11 ` Jan Vorbrueggen 2001-02-28 16:31 ` Rick Cadruvi 1 sibling, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-02-28 15:11 UTC (permalink / raw) bill@triangle.cs.uofs.edu (Bill Gunshannon) writes: > Most languages that expect to see > use as more than application languages that did not have these features > end out having a vendor put them in as non-standard extensions (such > as Pascal). Ada may have standardized them, but it still put them > in. It just didn't make them visible or intuitively obvious. The important difference is it makes you explicitly say so, instead of strange things (like a missing break or an if =) happening by default or accident. Ada doesn't stop a broken development process and management from wasting over a billion Euro on Ariane 501, but the programmers documented, in their code, what they had been thinking of when they wrote it, and a simple code review would have uncovered that a number of the assumptions behind them were no longer valid. A similar example: VMS's security defaults are "safe out of the box" - you have to work to open up and make a VMS system unsafe. By contrast, WNT is unsafe out of the box, and in fact so many pieces of software (including the OS) assume this remains so that it is a very difficult and reinstallation- prone activity to try to secure it; even then, some structural unsafeness remains (DLL hell, for instance). This is just bad engineering. In the case of C, a lot is the result of ignoring, if you want a grand word, cognitive psychology or, more down- to-earth, just common sense. See the Ada "elseif" vs "elsif" example mentioned elsewhere. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 13:56 ` Bill Gunshannon 2001-02-28 15:11 ` Jan Vorbrueggen @ 2001-02-28 16:31 ` Rick Cadruvi 1 sibling, 0 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-28 16:31 UTC (permalink / raw) This has been my point all along. The problem in laguages is NOT the features that may allow programmers to get into problems. The problems is that those features in a language get abused and coding is carelessly undertaken. Blame programmers for being lazy or writing bad code rather than blaming the language. Rick... "Bill Gunshannon" <bill@triangle.cs.uofs.edu> wrote in message news:97j030$f4c$1@info.cs.uofs.edu... > In article <009F8479.B6EC89DC@SendSpamHere.ORG>, > system@SendSpamHere.ORG (Brian Schenkenberger, VAXman-) writes: > |> > |> > |> You can shoot yourself in the foot with any language you use but, unlike > |> C and its bastard relatives, Ada doesn't load the gun and help you aim. > > Sure it does. It just holds the gun behind it's back while it loads > it. I have always said that most of the features of C that people > complain about all the time are there becuase they are needed to do > many serious system level task. Most languages that expect to see > use as more than application languages that did not have these features > end out having a vendor put them in as non-standard extensions (such > as Pascal). Ada may have standardized them, but it still put them > in. It just didn't make them visible or intuitively obvious. The > textbook we used here had a whole chapter on how to shoot yourself > in the foot using Ada. > > bill > > -- > Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves > bill@cs.scranton.edu | and a sheep voting on what's for dinner. > University of Scranton | > Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-27 1:26 ` Drop C/C++ better sooner than later Christof Brass ` (3 preceding siblings ...) 2001-02-28 0:12 ` Brian Schenkenberger, VAXman- @ 2001-02-28 2:14 ` Larry Kilgallen 2001-02-28 2:46 ` Bill Todd ` (2 subsequent siblings) 7 siblings, 0 replies; 168+ messages in thread From: Larry Kilgallen @ 2001-02-28 2:14 UTC (permalink / raw) In article <cCYm6.1296$CP4.299029@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > > "Christof Brass" <brass@infopuls.com> wrote in message > news:3A9C2B88.8032D829@infopuls.com... >> I don't think it is a good idea to come up with a list of >> requirements and matching PLs because this will lead the >> discussion quickly to certain aspects of these PLs instead of >> talking about the big picture which is from my point of view: >> can it be possible that something created in the early days of >> our quick evolving area is still the best tool around?? Is C the >> wheel of PL science and practice? Is flying impossible? > > I disagree. You stated that using C/C++ was stupid (or something > to that affect) and that you couldn't write good code in it. Therefore. > naming other languages and their appropriate use is necessary for > the discussion. Since you won't suggest alternatives, you clearly > demonstrate an anti C/C++ bias that must be more emotionally > based than fact based. I haven't even heard your objections to > C/C++ except their age. > > Believe me, I am NOT a defender of C. There are many things I HATE > about C. Here's 4 of them: > > 1. Case Sensitivity. I am use to it, but I think it is a BIG > problem. tmp, TMP, Tmp, tMp, tmP, TMp, tMP should NOT refer > to different things. > > 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able > to fall through to the next CASE in a SWITCH statement. The > default should be BREAK and allow specifying CONTINUE if you > want to drop through. THIS IS A BIG PROBLEM!!! > > 3. BREAK. Break should be allowed from ALL Begin/End ({}) > constructs (including IF ELSE). You should also be able to > BREAK # where # is the number of Begin/End blocks you want > to break out of. > > 4. Use of "==" for compares. It's WAY too easy to put in "=" > instead. In fact, I usually do a specialized search of ALL > my code before the first compile just to try and catch these. That is an interesting list, because it totally omits the most important defect the Ada community sees in C -- pointer arithmetic. For those of us with many years of Bliss experience, pointer arithmetic must seem like it does to the average C-only programmer ... the only way to handle some programs. But once one has a suitable amount of experience with Ada (or some other language without pointer arithmetic) it is obvious that the use of pointer arithmetic is a significant vulnerability. > However, C is currently one of the most practical development languages > because you have a large pool of people who know it and can be brought > in to a project to work on it. This is VERY important in commercially > viable software. I would not want to employ someone who knew only one language, and after learning a couple adding one more should not be difficult. I have done some work on an old PL/I program lately, and although I am no expert I think my defect rate is acceptable. Picking up a new language is not that difficult. > Also, it is portable if the programmer isn't too careless. You always > have to assume your code will need to run on another platform/OS. Certainly Ada is just as portable. > My ideal language would probably be mostly a combination of BLISS and C. > However, I do mostly tools and System programming. Therefore, I am not > probably > the best sample case for what makes a good programming language. While the VMS device driver environment is not suitable for Ada, that is mainly the result of the way that data structure definitions are provided. About the only aspect of VMS device drivers I can think of that could not theoretically be done in a safe language would be a driver for a physical device on a VAX, to that @!#@$#!%$$#$% wait-for-interrupt-and-keep-channel linkage (at least "linkage" is what they would call it if they ever had bothered to support it from Bliss. > One thing I don't want is a language to get in the way. A lot of newer > languages are > designed to prevent programmers for doing things to keep them from making > mistakes. > I understand this logic, but what you have is an effort to over compensate > because > programmers were never taught to program well and they write BAD code. > > In order for a language to be useable, they invariably provide some > "backdoor" > that allows you to do the things you really want to do. As a result, those > "backdoors" get abused. Along comes someone else who says they have to > do something new that removes that "backdoor". As more code is written in > the > new language, it becomes clear that new "backdoors" have to be implemented > because the language is preventing complex things from being done or at > least > is making them so difficult that they take too long. This was always my > problem > with ADA. Presuming you mean Ada :-), please be more specific. Of course Ada requires strict definitions of data structures, and VMS does not provide them, that is a given. > How many times do you still hear programmers justify the requirement that > all routines > exit at the bottom, or insist it is more efficient to write fewer large > routines than many > small routines to save a few routine calls. As long as this ignorance > persists, all the > GREAT new programming languages won't solve the problem. One problem C programamers seem to have more than programmers of safe languages is that as the programmer they are in charge of low-level optimization. Certainly they must deal with how many reads of the disk are performed (efficient use of cache), but they do _not_ need to be concerned with the performance difference between an IF and a CASE statement (probably not proper C terminology) as the compiler will sort that out and invalidate any attempted optimizations on the part of the programmer. > When I even thing about using a ELSE statement, I force myself to justify > it's use. > Most programmers think using ELSEs is really great and liberally do nested > IF then ELSEs. But I think that is fine: if WINE = RED then .... elsif SIZE > 500 then .... elsif AGE /= 17 then .... else .... end if; > Teach programmers to write code well, and new progrmaming languages will > evolve that help us solve the problems better and not ones that prevent us > from > doing things we shouldn't do in the first place unless they are REALLY > required. But we seem to disagree on what constitutes well-written. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-27 1:26 ` Drop C/C++ better sooner than later Christof Brass ` (4 preceding siblings ...) 2001-02-28 2:14 ` Larry Kilgallen @ 2001-02-28 2:46 ` Bill Todd 2001-03-01 2:12 ` Christof Brass [not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <009F8479.B6EC89DC@SendSpamHere.ORG> [not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <5ABc4wgf5wcs@eisner.encompasserve.org> 7 siblings, 1 reply; 168+ messages in thread From: Bill Todd @ 2001-02-28 2:46 UTC (permalink / raw) Christof Brass <brass@infopuls.com> 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 ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 2:46 ` Bill Todd @ 2001-03-01 2:12 ` Christof Brass 0 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 2:12 UTC (permalink / raw) Bill Todd wrote: > > Christof Brass <brass@infopuls.com> 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? May I insist? I don't see any problem in using any PL which produces binary compatible code for writing this sort of code. Obviously you can't use a runtime system specificy to that language or an interpreter which e.g. excludes Smalltalk. > > > > 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. Perhaps it's then time? Please re-read my statement. Quality and time are normally related. > > 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. Depends on two factors: how entangled is your work and how easy is it to use a C/C++ API (or more precise the Kernel Module Interfaces) from the other language. > 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. You have a point. > 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 I regret that most open source projects are using these languages even if there is no need similar to what you described. We should keep two things apart: what we have to do and the quality of the tool. We should be free enough to admit that *although* a lot of useful SW is implemented in C/C++ the languages are *pure* crap. C because it's far behind compared to what is possible today. C++ because it's behind, bloated and undesigned. If you master C++ you are an exception. But the wide spread use of C++ indicates that *a lot* of not exceptionel programers are using this powerful (although lacking some power) but very dangerous language. We see an enormous mis-ratio between suitable use (perhaps 1%) and actual use (perhaps 20%). ^ permalink raw reply [flat|nested] 168+ messages in thread
[parent not found: <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <009F8479.B6EC89DC@SendSpamHere.ORG>]
* Re: Drop C/C++ better sooner than later [not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <009F8479.B6EC89DC@SendSpamHere.ORG> @ 2001-03-01 1:46 ` Christof Brass 0 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 1:46 UTC (permalink / raw) "Brian Schenkenberger, VAXman-" wrote: > > In article <eYAawcfEii1k@eisner.encompasserve.org>, Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) writes: > >In article <ZLUm6.1046$CP4.192534@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > >> And I thought ADA was dead. Silly me. Not a language I would choose, but > >> obviously some people must like it. I find it telling that DOD no longer > >> requires > >> it for contracts. > > > >ADA is the Americans with Disabilities Act. > >ADA is the American Dental Association. > >ADA is the Americans for Democratic Action. > >and probably a few more. > > American Diabetes Association > > >Ada is a programming language. > >Ada was the given name of Lady Lovelace, who programmed for Charles Babbage. > >Ada is a town in the US Midwest. > > > >Indeed, forcing a specific language on products who do not want it is > >counter productive. These days Ada is used in the new software for > >the New York City subway, the Boeing 777 avionics, multiple European > >rail and air traffic control projects, and yes, military projects. > > > > http://www.seas.gwu.edu/~mfeldman/ada-project-summary.html > > I, for one, spent the years from the introduction of VAX/VMS through the > release of OpenVMS VAX and Alpha V6.1 working for the DoD and, with the > exception of a short couple of months when I worked on the Mars Observer, > was never *required* to use Ada. The folks at GE decided, because they'd > wanted to learn Ada, to use it for development on the MO. I have come a- > cross Ada in more NON-military uses than I have in military. > > You can shoot yourself in the foot with any language you use but, unlike > C and its bastard relatives, Ada doesn't load the gun and help you aim. > > -- > VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM > > city, n., 1. a place where trees are cut down and streets are named after them. May I conclude that you used Ada deliberately, i.e. without beeing forced because it wasn't *required*. If I misinterpreted you statement would you like to reveal what PLs are your favourites wrt technically quality and experience/familiarity? ^ permalink raw reply [flat|nested] 168+ messages in thread
[parent not found: <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <5ABc4wgf5wcs@eisner.encompasserve.org>]
* Re: Drop C/C++ better sooner than later [not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <5ABc4wgf5wcs@eisner.encompasserve.org> @ 2001-02-28 4:46 ` Rick Cadruvi 2001-02-28 6:28 ` Robert Deininger ` (5 more replies) 2001-02-28 8:46 ` Jan Vorbrueggen 2001-03-01 1:56 ` Christof Brass 2 siblings, 6 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-28 4:46 UTC (permalink / raw) > That is an interesting list, because it totally omits the most important > defect the Ada community sees in C -- pointer arithmetic. For those of > us with many years of Bliss experience, pointer arithmetic must seem like > it does to the average C-only programmer ... the only way to handle some > programs. But once one has a suitable amount of experience with Ada (or > some other language without pointer arithmetic) it is obvious that the > use of pointer arithmetic is a significant vulnerability. I do agree that pointer arithmetic in C is particularly bad. I guess I forgot about it because I don't use it. When I do need to I always type cast or declare things as (char *). Anyone who faults C based on the way pointer arithmetic is done and the excessive type casting it causes will get NO argument from me. As far as pointer arithmetic being problematic, I agree it can be, but it can also be very powerful. Not having to program around a problem makes code more straightforward and therefore less likely to have bugs. > While the VMS device driver environment is not suitable for Ada, that is > mainly the result of the way that data structure definitions are provided. > About the only aspect of VMS device drivers I can think of that could not > theoretically be done in a safe language would be a driver for a physical > device on a VAX, to that @!#@$#!%$$#$% wait-for-interrupt-and-keep-channel > linkage (at least "linkage" is what they would call it if they ever had > bothered to support it from Bliss. > I would say that this is true. > > When I even thing about using a ELSE statement, I force myself to justify > > it's use. > > Most programmers think using ELSEs is really great and liberally do nested > > IF then ELSEs. > > But I think that is fine: > > if WINE = RED > then > .... > elsif SIZE > 500 > then > .... > elsif AGE /= 17 > then > .... > else > .... > end if; Your example is fine. I am talking about something like: if () {if () { } else { if { } else { } } } else Its the extra nesting that gets problematic. Your example doesn't display that type of behavior. Even still, I would probably use other constructs like a switch case statement or something. > > > Teach programmers to write code well, and new progrmaming languages will > > evolve that help us solve the problems better and not ones that prevent us > > from > > doing things we shouldn't do in the first place unless they are REALLY > > required. > > But we seem to disagree on what constitutes well-written. Can we at least agree that if programmers were taught to write good code in the first place then a lot of the problems some languages try to solve would be less of an issue? Rick Cadruvi... ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 4:46 ` Rick Cadruvi @ 2001-02-28 6:28 ` Robert Deininger 2001-02-28 7:16 ` JF Mezei 2001-03-01 2:25 ` Christof Brass 2001-02-28 7:08 ` JF Mezei ` (4 subsequent siblings) 5 siblings, 2 replies; 168+ messages in thread From: Robert Deininger @ 2001-02-28 6:28 UTC (permalink / raw) In article <97hvro$hj4@freepress.concentric.net>, "Rick Cadruvi" <rick@rdperf.com> wrote: > > > > But I think that is fine: > > > > if WINE = RED > > then > > .... > > elsif SIZE > 500 > > then > > .... > > elsif AGE /= 17 > > then > > .... > > else > > .... > > end if; > > Your example is fine. I am talking about something like: > > if () > {if () > { > } > else > { > if > { > } > else > { > } > } > } > else > > Its the extra nesting that gets problematic. Your example doesn't > display that type of behavior. Well, the C if is particularly weak, and brackets for statement grouping are error-prone. The Ada if is more robust and expressive. In Ada, small syntax errors are easier for the compiler to isolate and flag. The "elsif" construct reduces nesting depth in many situations. The if statement was one of the many points where the Ada designers tried to correct syntactic blunders from previous languages. "elsif" is an interesting example. "else if" and "elsif" mean quite different things (the former starts another level of nesting). They could have chosen "elseif" instead of "elsif", since blanks are significant in Ada. But that would have been hell on all the Fortran programmers, who can't tell the difference between ELSEIF and ELSE IF. In Ada, where line breaks are NOT significant, omitting the space might have been correct, or and error, but the compiler would not know which until the end of the whole block-if construct. The strangely-spelled "elsif" localizes what is a common typo for folks used to some other languages. > Even still, I would probably use other constructs like > a switch case statement or something. I'd tend to agree with you in C, where the if is feeble. In Ada, the if-elsif-else construct is the right one in most cases. In Larry's example, where the IF involves 3 different variables (WINE, SIZE, and AGE), CASE won't work. And if you need a nested if-else in both the if part and the else part, a switch isn't simple anymore. > > > Teach programmers to write code well, and new progrmaming languages will > > > evolve that help us solve the problems better and not ones that prevent > us > > > from > > > doing things we shouldn't do in the first place unless they are REALLY > > > required. > > > > But we seem to disagree on what constitutes well-written. > > Can we at least agree that if programmers were taught to write good code in > the first place then a lot of the problems some languages try to solve would > be less > of an issue? Yes, I'll agree with that any time. It's a problem that won't go away anytime soon. I think it's getting worse. (That must be a sign of oldness.) There have been some fairly unbiased side-by-side comparisons of productivity with C vs. Ada, at various programmer skill levels. Ada comes out ahead, usually by a large margin. It seems to take a bit longer to write, but much less time to debug. In the modern world, where bugs don't matter, Ada is at a disadvantage. -- Robert Deininger rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 6:28 ` Robert Deininger @ 2001-02-28 7:16 ` JF Mezei 2001-02-28 16:05 ` Rick Cadruvi 2001-03-01 2:46 ` Christof Brass 2001-03-01 2:25 ` Christof Brass 1 sibling, 2 replies; 168+ messages in thread From: JF Mezei @ 2001-02-28 7:16 UTC (permalink / raw) re: switch / case: I have had occasions where I did make use of the lack of automatic "break" at the end of a case statement. Think of a dishwasher: switch(wash_type) { case heavy_duty: fill_tank(); wash(5 minutes, no_spoap, no_rinse_agent); empty_tank(); case very_dirty: fill_tank(); wash(5 minutes, no_spoap, no_rinse_agent); empty_tank(); case regular: fill_tank(); wash(10 minutes, spoap, no_rinse_agent); empty_tank(); case rinse: fill_tank(); wash(10 minutes, no_spoap, rinse_agent); empty_tank(); dryer(15 minutes); break; case rinse_only: fill_tank(); wash(5 minutes, no soap, no rinse agent); empty_tank(); break; case dish_warmer: dryer(5 minutes); break; So, in the case of a heavy_duty wash, it will fall down all the way to the end of the rinse and then stop. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 7:16 ` JF Mezei @ 2001-02-28 16:05 ` Rick Cadruvi 2001-03-01 2:46 ` Christof Brass 1 sibling, 0 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-28 16:05 UTC (permalink / raw) I don't disagree that the concept is useful. I just think that BREAK should be automatic and you should use a CONTINUE to drop through since you almost ALWAYS want to BREAK. Rick... "JF Mezei" <jfmezei.spamnot@videotron.ca> wrote in message news:3A9CA5B0.3614CAE7@videotron.ca... > re: switch / case: > > I have had occasions where I did make use of the lack of automatic "break" at > the end of a case statement. > > Think of a dishwasher: > > > switch(wash_type) > { > case heavy_duty: > fill_tank(); > wash(5 minutes, no_spoap, no_rinse_agent); > empty_tank(); > case very_dirty: > fill_tank(); > wash(5 minutes, no_spoap, no_rinse_agent); > empty_tank(); > case regular: > fill_tank(); > wash(10 minutes, spoap, no_rinse_agent); > empty_tank(); > > case rinse: > fill_tank(); > wash(10 minutes, no_spoap, rinse_agent); > empty_tank(); > dryer(15 minutes); > break; > > case rinse_only: > fill_tank(); > wash(5 minutes, no soap, no rinse agent); > empty_tank(); > break; > > case dish_warmer: > dryer(5 minutes); > break; > > > > So, in the case of a heavy_duty wash, it will fall down all the way to the end > of the rinse and then stop. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 7:16 ` JF Mezei 2001-02-28 16:05 ` Rick Cadruvi @ 2001-03-01 2:46 ` Christof Brass 1 sibling, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 2:46 UTC (permalink / raw) JF Mezei wrote: > > re: switch / case: > > I have had occasions where I did make use of the lack of automatic "break" at > the end of a case statement. > > Think of a dishwasher: > > switch(wash_type) > { > case heavy_duty: > fill_tank(); > wash(5 minutes, no_soap, no_rinse_agent); > empty_tank(); > case very_dirty: > fill_tank(); > wash(5 minutes, no_soap, no_rinse_agent); > empty_tank(); > case regular: > fill_tank(); > wash(10 minutes, soap, no_rinse_agent); > empty_tank(); > > case rinse: > fill_tank(); > wash(10 minutes, no_soap, rinse_agent); > empty_tank(); > dryer(15 minutes); > break; > > case rinse_only: > fill_tank(); > wash(5 minutes, no soap, no rinse agent); > empty_tank(); > break; > > case dish_warmer: > dryer(5 minutes); > break; > > So, in the case of a heavy_duty wash, it will fall down all the way to the end > of the rinse and then stop. CLASS Dishwasher; CONSTANT soap = TRUE; no_soap = FALSE; rinse_agent = TRUE; no_rinse_agent = FALSE; METHOD fill_tank(); METHOD empty_tank(); METHOD wash(min: Minutes; soap: BOOLEAN; rinse_agent: BOOLEAN); METHOD rinse(); BEGIN fill_tank(); wash(10, no_soap, rinse_agent); empty_tank(); dryer(15 minutes) END rinse; METHOD regular(); BEGIN fill_tank(); wash(10, spoap, no_rinse_agent); rinse(); END regular; METHOD very_dirty(); BEGIN fill_tank(); wash(5, no_spoap, no_rinse_agent); empty_tank(); regular(); END very_dirty; METHOD heavy_duty(); BEGIN fill_tank(); wash(5, no_spoap, no_rinse_agent); empty_tank(); very_dirty(); END heavy_duty; METHOD rinse_only(); BEGIN fill_tank(); wash(5, no soap, no rinse agent); empty_tank() END rinse_only; METHOD dish_warmer(); BEGIN dryer(5) END dish_warmer; END Dishwasher; Exercise 1: Introduce a seventh mode of operation called "Machine cleaning" ... Exercise 2: Change *only* regular() in that it washes 12 minutes. The other mode should operate as before. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 6:28 ` Robert Deininger 2001-02-28 7:16 ` JF Mezei @ 2001-03-01 2:25 ` Christof Brass 1 sibling, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 2:25 UTC (permalink / raw) Robert Deininger wrote: > > In article <97hvro$hj4@freepress.concentric.net>, "Rick Cadruvi" > <rick@rdperf.com> wrote: > > > > > > > But I think that is fine: > > > > > > if WINE = RED > > > then > > > .... > > > elsif SIZE > 500 > > > then > > > .... > > > elsif AGE /= 17 > > > then > > > .... > > > else > > > .... > > > end if; > > > > Your example is fine. I am talking about something like: > > > > if () > > {if () > > { > > } > > else > > { > > if > > { > > } > > else > > { > > } > > } > > } > > else > > > > Its the extra nesting that gets problematic. Your example doesn't > > display that type of behavior. > > Well, the C if is particularly weak, and brackets for statement grouping > are error-prone. The Ada if is more robust and expressive. In Ada, small > syntax errors are easier for the compiler to isolate and flag. The > "elsif" construct reduces nesting depth in many situations. > > The if statement was one of the many points where the Ada designers tried > to correct syntactic blunders from previous languages. > > "elsif" is an interesting example. "else if" and "elsif" mean quite > different things (the former starts another level of nesting). They could > have chosen "elseif" instead of "elsif", since blanks are significant in > Ada. But that would have been hell on all the Fortran programmers, who > can't tell the difference between ELSEIF and ELSE IF. In Ada, where line > breaks are NOT significant, omitting the space might have been correct, or > and error, but the compiler would not know which until the end of the > whole block-if construct. The strangely-spelled "elsif" localizes what is > a common typo for folks used to some other languages. > > > Even still, I would probably use other constructs like > > a switch case statement or something. > > I'd tend to agree with you in C, where the if is feeble. In Ada, the > if-elsif-else construct is the right one in most cases. In Larry's > example, where the IF involves 3 different variables (WINE, SIZE, and > AGE), CASE won't work. > > And if you need a nested if-else in both the if part and the else part, a > switch isn't simple anymore. > > > > > Teach programmers to write code well, and new progrmaming languages will > > > > evolve that help us solve the problems better and not ones that prevent > > us > > > > from > > > > doing things we shouldn't do in the first place unless they are REALLY > > > > required. > > > > > > But we seem to disagree on what constitutes well-written. > > > > Can we at least agree that if programmers were taught to write good code in > > the first place then a lot of the problems some languages try to solve would > > be less > > of an issue? > > Yes, I'll agree with that any time. It's a problem that won't go away > anytime soon. I think it's getting worse. (That must be a sign of > oldness.) > > There have been some fairly unbiased side-by-side comparisons of > productivity with C vs. Ada, at various programmer skill levels. Ada > comes out ahead, usually by a large margin. It seems to take a bit longer > to write, but much less time to debug. > > In the modern world, where bugs don't matter, Ada is at a disadvantage. > > -- > Robert Deininger > rdeininger@mindspring.com I know of a long term comparison in practice where Ada came out at least twice as good. I don't understand what you mean with "bit longer to write, but much less time to debug" because first level testing/debugging is part of writing. Otherwise I could use a language which is almost insensitive to what I feed into the compiler/interpreter. I know several people who use Pascal or C. If can compile a Pascal program you have done 50% of your work. If you can compile your C program you have done 20% of your work. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 4:46 ` Rick Cadruvi 2001-02-28 6:28 ` Robert Deininger @ 2001-02-28 7:08 ` JF Mezei 2001-02-28 8:52 ` Jan Vorbrueggen 2001-03-01 2:47 ` Christof Brass 2001-02-28 13:39 ` Bob Koehler ` (3 subsequent siblings) 5 siblings, 2 replies; 168+ messages in thread From: JF Mezei @ 2001-02-28 7:08 UTC (permalink / raw) Rick Cadruvi wrote: > it because I don't use it. When I do need to I always type cast or declare > things > as (char *). Anyone who faults C based on the way pointer arithmetic is > done > and the excessive type casting it causes will get NO argument from me. Whenever I am not sure of what it actually does, I end up writing a small "test.c" program that does the actual operation and I then either use debug or lots of printfs to verify that the compiler generate the right arithmetic. This is the same with bit fields/arithmetic or other constructs. What I don't like about DEC-C is that it sometimes forces me to make strange constructs to shut the compiler up even though the "illegal" constructs would be much easier to understand. I despise having to typecast. There are times where I will move a pointer to a void and then to a char just to make sure I can do real arithmetic without the compiler complaining. When working with dynamically allocated memory structures, pointer arithmetic and handling is a must. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 7:08 ` JF Mezei @ 2001-02-28 8:52 ` Jan Vorbrueggen 2001-03-01 2:47 ` Christof Brass 1 sibling, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-02-28 8:52 UTC (permalink / raw) JF Mezei <jfmezei.spamnot@videotron.ca> writes: > I despise having to typecast. It's the only way to tell the compiler "do what I mean", instead of leaving it guessing. > When working with dynamically allocated memory structures, pointer arithmetic > and handling is a must. Really? SHow us an example. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 7:08 ` JF Mezei 2001-02-28 8:52 ` Jan Vorbrueggen @ 2001-03-01 2:47 ` Christof Brass 2001-03-01 6:37 ` Nikita V. Belenki 1 sibling, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-03-01 2:47 UTC (permalink / raw) JF Mezei wrote: > > Rick Cadruvi wrote: > > it because I don't use it. When I do need to I always type cast or declare > > things > > as (char *). Anyone who faults C based on the way pointer arithmetic is > > done > > and the excessive type casting it causes will get NO argument from me. > > Whenever I am not sure of what it actually does, I end up writing a small > "test.c" program that does the actual operation and I then either use debug or > lots of printfs to verify that the compiler generate the right arithmetic. > > This is the same with bit fields/arithmetic or other constructs. > > What I don't like about DEC-C is that it sometimes forces me to make strange > constructs to shut the compiler up even though the "illegal" constructs would > be much easier to understand. > > I despise having to typecast. There are times where I will move a pointer to a > void and then to a char just to make sure I can do real arithmetic without the > compiler complaining. > > When working with dynamically allocated memory structures, pointer arithmetic > and handling is a must. *Only* in C/C++. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 2:47 ` Christof Brass @ 2001-03-01 6:37 ` Nikita V. Belenki 2001-03-01 23:40 ` Christof Brass 0 siblings, 1 reply; 168+ messages in thread From: Nikita V. Belenki @ 2001-03-01 6:37 UTC (permalink / raw) "Christof Brass" <brass@infopuls.com> wrote in message news:3A9DB85B.5B8D9B84@infopuls.com... > > When working with dynamically allocated memory structures, pointer arithmetic > > and handling is a must. > *Only* in C/C++. *Everywhere* on the current hardware. If *you* are writing the library that does memory management and hides pointer arithmetic from the other parties. Kit. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 6:37 ` Nikita V. Belenki @ 2001-03-01 23:40 ` Christof Brass 2001-03-03 10:18 ` Nikita V. Belenki 0 siblings, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-03-01 23:40 UTC (permalink / raw) "Nikita V. Belenki" wrote: > > "Christof Brass" <brass@infopuls.com> wrote in message > news:3A9DB85B.5B8D9B84@infopuls.com... > > > > When working with dynamically allocated memory structures, pointer > > > arithmetic and handling is a must. > > *Only* in C/C++. > > *Everywhere* on the current hardware. If *you* are writing the library that > does memory management and hides pointer arithmetic from the other parties. > > Kit. *Only* in crap languages. BTW this has nothing to do with the HW. Instead with the language, namely the compiler/interpreter. Ever heard of a type system or a GC? ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 23:40 ` Christof Brass @ 2001-03-03 10:18 ` Nikita V. Belenki 2001-03-03 10:40 ` Christof Brass 0 siblings, 1 reply; 168+ messages in thread From: Nikita V. Belenki @ 2001-03-03 10:18 UTC (permalink / raw) "Christof Brass" <brass@infopuls.com> wrote in message news:3A9EDDEC.845CA702@infopuls.com... > > > > When working with dynamically allocated memory structures, pointer > > > > arithmetic and handling is a must. > > > *Only* in C/C++. > > *Everywhere* on the current hardware. If *you* are writing the library > > that does memory management and hides pointer arithmetic from the > > other parties. > *Only* in crap languages. BTW this has nothing to do with the HW. Instead > with the language, namely the compiler/interpreter. > Ever heard of a type system or a GC? Ever heard of a GC *implementation* written *without* pointer handling? Kit. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-03 10:18 ` Nikita V. Belenki @ 2001-03-03 10:40 ` Christof Brass 2001-03-12 3:29 ` Mark Garrett 0 siblings, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-03-03 10:40 UTC (permalink / raw) "Nikita V. Belenki" wrote: > > "Christof Brass" <brass@infopuls.com> wrote in message > news:3A9EDDEC.845CA702@infopuls.com... > > > > > > When working with dynamically allocated memory structures, pointer > > > > > arithmetic and handling is a must. > > > > *Only* in C/C++. > > > *Everywhere* on the current hardware. If *you* are writing the library > > > that does memory management and hides pointer arithmetic from the > > > other parties. > > *Only* in crap languages. BTW this has nothing to do with the HW. Instead > > with the language, namely the compiler/interpreter. > > Ever heard of a type system or a GC? > > Ever heard of a GC *implementation* written *without* pointer handling? > > Kit. Ever heard of a GC *implementation* supplied in a library??? ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-03 10:40 ` Christof Brass @ 2001-03-12 3:29 ` Mark Garrett 2001-03-12 4:05 ` Bob Willard 2001-03-12 8:02 ` Paul Repacholi 0 siblings, 2 replies; 168+ messages in thread From: Mark Garrett @ 2001-03-12 3:29 UTC (permalink / raw) Since this thread has drifted off topic, I'll keep with that trend. Of all the languages that VMS had available the one I never ever got to see (except in help) was CORAL-66. What is this language and does it have any compilers available today? Cheers Mark ;) ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-12 3:29 ` Mark Garrett @ 2001-03-12 4:05 ` Bob Willard 2001-03-12 8:02 ` Paul Repacholi 1 sibling, 0 replies; 168+ messages in thread From: Bob Willard @ 2001-03-12 4:05 UTC (permalink / raw) Mark Garrett wrote: > > Since this thread has drifted off topic, I'll keep with that trend. > Of all the languages that VMS had available the one I never ever got to > see (except in help) was CORAL-66. What is this language and does it have > any compilers available today? > > Cheers > Mark ;) Rather an antique realtime language; any search engine should find lots of pointers to URLs to get some background info. -- Cheers, Bob ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-12 3:29 ` Mark Garrett 2001-03-12 4:05 ` Bob Willard @ 2001-03-12 8:02 ` Paul Repacholi 2001-03-15 14:13 ` Alan Greig 1 sibling, 1 reply; 168+ messages in thread From: Paul Repacholi @ 2001-03-12 8:02 UTC (permalink / raw) Mark Garrett <Mark.Garrett@wedontwantyourspam.com.au> writes: > Since this thread has drifted off topic, I'll keep with that trend. > Of all the languages that VMS had available the one I never ever got > to see (except in help) was CORAL-66. What is this language and does > it have any compilers available today? CORAL was developed for telphone exchange swithing stuff. It was available for RSX, and I think VMS in the early 80s. The VMS one was non DEC as I remember. -- Paul Repacholi 1 Crescent Rd., +61 (08) 9257-1001 Kalamunda. West Australia 6076 Raw, Cooked or Well-done, it's all half baked. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-12 8:02 ` Paul Repacholi @ 2001-03-15 14:13 ` Alan Greig 0 siblings, 0 replies; 168+ messages in thread From: Alan Greig @ 2001-03-15 14:13 UTC (permalink / raw) On 12 Mar 2001 16:02:15 +0800, Paul Repacholi <prep@prep.synonet.com> wrote: >Mark Garrett <Mark.Garrett@wedontwantyourspam.com.au> writes: > >> Since this thread has drifted off topic, I'll keep with that trend. >> Of all the languages that VMS had available the one I never ever got >> to see (except in help) was CORAL-66. What is this language and does >> it have any compilers available today? > >CORAL was developed for telphone exchange swithing stuff. It was >available for RSX, and I think VMS in the early 80s. The VMS one was >non DEC as I remember. Don't know about telephone exchanges but I do know that it was used heavily on VMS in some UK defence apps and I believe still is. The license cost was astronomical last time I checked (about ten years ago). UK MOD at least specified a Coral to C translator at one point but I don't know if it was ever implemented. -- Alan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 4:46 ` Rick Cadruvi 2001-02-28 6:28 ` Robert Deininger 2001-02-28 7:08 ` JF Mezei @ 2001-02-28 13:39 ` Bob Koehler 2001-02-28 16:11 ` Rick Cadruvi 2001-02-28 20:00 ` JF Mezei 2001-02-28 18:11 ` Larry Kilgallen ` (2 subsequent siblings) 5 siblings, 2 replies; 168+ messages in thread From: Bob Koehler @ 2001-02-28 13:39 UTC (permalink / raw) In article <3A9CA3C9.2DD7BF75@videotron.ca>, JF Mezei <jfmezei.spamnot@videotron.ca> writes: > > When working with dynamically allocated memory structures, pointer arithmetic > and handling is a must. Really? Then why is it I've got tons of Java with massive use of dynamically allocated memory structures working quite well in a language which does not have pointers? As the Java white paper discusses, use of pointers is directly coincident with increased error rates. There's no reason structure element and array element syntax can't be used to handle dynamic memory access. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 13:39 ` Bob Koehler @ 2001-02-28 16:11 ` Rick Cadruvi 2001-02-28 20:00 ` JF Mezei 1 sibling, 0 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-28 16:11 UTC (permalink / raw) I don't think you can blame pointers for errors that are really due to lazy or bad programming. Just because the whoite paper says it, doesn't make it true. It is true that languages without pointers can deal with dynamic memory, however. Rick Cadruvi... "Bob Koehler" <koehler@encompasserve.org> wrote in message news:9HJMlkWyghTe@eisner.encompasserve.org... > In article <3A9CA3C9.2DD7BF75@videotron.ca>, JF Mezei <jfmezei.spamnot@videotron.ca> writes: > > > > When working with dynamically allocated memory structures, pointer arithmetic > > and handling is a must. > > Really? Then why is it I've got tons of Java with massive use of > dynamically allocated memory structures working quite well in a language > which does not have pointers? > > As the Java white paper discusses, use of pointers is directly > coincident with increased error rates. There's no reason structure > element and array element syntax can't be used to handle dynamic memory > access. > > ---------------------------------------------------------------------- > Bob Koehler | Computer Sciences Corporation > NASA GSFC Flight Software | Federal Sector, Civil Group > | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 13:39 ` Bob Koehler 2001-02-28 16:11 ` Rick Cadruvi @ 2001-02-28 20:00 ` JF Mezei 2001-03-01 9:16 ` Jan Vorbrueggen 2001-03-01 13:48 ` Bill Gunshannon 1 sibling, 2 replies; 168+ messages in thread From: JF Mezei @ 2001-02-28 20:00 UTC (permalink / raw) Bob Koehler wrote: > Really? Then why is it I've got tons of Java with massive use of > dynamically allocated memory structures working quite well in a language > which does not have pointers? Is Java a compiled language, or a run-time environment ? Doesn't Java execute in its own virtual machine with lots of support from the Java engine ? Does this qualify as a true compiled language ? Also, if there is no concept of pointers in Java, do they allow you to cheat and specify pointers to be passed when you call system services etc ? ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 20:00 ` JF Mezei @ 2001-03-01 9:16 ` Jan Vorbrueggen 2001-03-01 23:42 ` Christof Brass 2001-03-01 13:48 ` Bill Gunshannon 1 sibling, 1 reply; 168+ messages in thread From: Jan Vorbrueggen @ 2001-03-01 9:16 UTC (permalink / raw) JF Mezei <jfmezei.spamnot@videotron.ca> writes: > Is Java a compiled language, or a run-time environment ? Doesn't Java execute > in its own virtual machine with lots of support from the Java engine ? Does > this qualify as a true compiled language ? Yes. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 9:16 ` Jan Vorbrueggen @ 2001-03-01 23:42 ` Christof Brass 0 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 23:42 UTC (permalink / raw) Jan Vorbrueggen wrote: > > JF Mezei <jfmezei.spamnot@videotron.ca> writes: > > > Is Java a compiled language, or a run-time environment ? Doesn't Java execute > > in its own virtual machine with lots of support from the Java engine ? Does > > this qualify as a true compiled language ? > > Yes. > > Jan While the answer might be correct the question is wrong. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 20:00 ` JF Mezei 2001-03-01 9:16 ` Jan Vorbrueggen @ 2001-03-01 13:48 ` Bill Gunshannon 2001-03-01 23:18 ` John Santos 1 sibling, 1 reply; 168+ messages in thread From: Bill Gunshannon @ 2001-03-01 13:48 UTC (permalink / raw) In article <3A9D58D3.92B3B87A@videotron.ca>, JF Mezei <jfmezei.spamnot@videotron.ca> writes: |> Bob Koehler wrote: |> > Really? Then why is it I've got tons of Java with massive use of |> > dynamically allocated memory structures working quite well in a language |> > which does not have pointers? |> |> Is Java a compiled language, or a run-time environment ? Java is a compiled language. The Java Virtual Machine has nothing to do with wether or not this is true. Unless you somhow believe that because it ran in the P-machine somehow UCSD Pascal was not a compiled language. Yes, Java, Byte Code and the JVM are just the UCSD Pascal idea re-invented. |> Doesn't Java execute |> in its own virtual machine with lots of support from the Java engine ? It does. And for political reasons Sun wanted to keep it this way. But they lost. GNU has a native mode java compiler. But even that is not germane to the argument. The Java Virtual Machine is an architecture just like any real machine. Byte Code is it's machine language. Using your argument, when you run any compiler on the CHARON emulator they are not really compilers because they don't generate object code for the host machine and they run in a virtual machine. |> Does |> this qualify as a true compiled language ? As much as any other. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 13:48 ` Bill Gunshannon @ 2001-03-01 23:18 ` John Santos 0 siblings, 0 replies; 168+ messages in thread From: John Santos @ 2001-03-01 23:18 UTC (permalink / raw) On 1 Mar 2001, Bill Gunshannon wrote: > In article <3A9D58D3.92B3B87A@videotron.ca>, > JF Mezei <jfmezei.spamnot@videotron.ca> writes: > |> Bob Koehler wrote: > |> > Really? Then why is it I've got tons of Java with massive use of > |> > dynamically allocated memory structures working quite well in a language > |> > which does not have pointers? > |> > |> Is Java a compiled language, or a run-time environment ? > > Java is a compiled language. The Java Virtual Machine has nothing to do > with wether or not this is true. Unless you somhow believe that because > it ran in the P-machine somehow UCSD Pascal was not a compiled language. > Yes, Java, Byte Code and the JVM are just the UCSD Pascal idea re-invented. Actually, it is BASIC-PLUS re-invented. > > |> Doesn't Java execute > |> in its own virtual machine with lots of support from the Java engine ? > > It does. And for political reasons Sun wanted to keep it this way. But they > lost. GNU has a native mode java compiler. But even that is not germane to > the argument. The Java Virtual Machine is an architecture just like any real > machine. Byte Code is it's machine language. Using your argument, when you > run any compiler on the CHARON emulator they are not really compilers because > they don't generate object code for the host machine and they run in a virtual > machine. > > |> Does > |> this qualify as a true compiled language ? > > As much as any other. > > bill > > -- > Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves > bill@cs.scranton.edu | and a sheep voting on what's for dinner. > University of Scranton | > Scranton, Pennsylvania | #include <std.disclaimer.h> > > -- John Santos Evans Griffiths & Hart, Inc. 781-861-0670 ext 539 ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 4:46 ` Rick Cadruvi ` (2 preceding siblings ...) 2001-02-28 13:39 ` Bob Koehler @ 2001-02-28 18:11 ` Larry Kilgallen 2001-02-28 20:01 ` Robert Deininger 2001-03-01 2:18 ` Christof Brass [not found] ` <9hjmlkwyghte@eisner.encompasserve.org> 5 siblings, 1 reply; 168+ messages in thread From: Larry Kilgallen @ 2001-02-28 18:11 UTC (permalink / raw) In article <rdeininger-2802010128330001@user-2iveaji.dialup.mindspring.com>, rdeininger@mindspring.com (Robert Deininger) writes: > And if you need a nested if-else in both the if part and the else part, a > switch isn't simple anymore. But something like: if WINE = RED then if MOON = FULL then ACTION_1; else ACTION_2; end if; elsif SIZE > 500 then if SEASON = SPRING then ACTION_3; else ACTION_4; end if; else if OS = VMS then ACTION_5; else ACTION_6; end if; end if; Can be deconstructed into: if WINE = RED and MOON = FULL then ACTION_1; elsif WINE = RED then ACTION_2; elsif SIZE > 500 and SEASON = SPRING then ACTION_3; elsif SIZE > 500 then ACTION_4; elsif OS = VMS ACTION_5; else ACTION_6; end if; Remember that at this level it is the job of the compiler and not the programmer to perform optimization. The two examples above are quite likely to produce the same machine code (presuming I made no error in deconstruction). ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 18:11 ` Larry Kilgallen @ 2001-02-28 20:01 ` Robert Deininger 0 siblings, 0 replies; 168+ messages in thread From: Robert Deininger @ 2001-02-28 20:01 UTC (permalink / raw) In article <vgTkciHxgEnV@eisner.encompasserve.org>, Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) wrote: > In article <rdeininger-2802010128330001@user-2iveaji.dialup.mindspring.com>, rdeininger@mindspring.com (Robert Deininger) writes: > > > And if you need a nested if-else in both the if part and the else part, a > > switch isn't simple anymore. > > But something like: > > if WINE = RED > then > if MOON = FULL > then > ACTION_1; > else > ACTION_2; > end if; > elsif SIZE > 500 > then > if SEASON = SPRING > then > ACTION_3; > else > ACTION_4; > end if; > else > if OS = VMS > then > ACTION_5; > else > ACTION_6; > end if; > end if; > > Can be deconstructed into: > > if WINE = RED and MOON = FULL > then > ACTION_1; > elsif WINE = RED > then > ACTION_2; > elsif SIZE > 500 and SEASON = SPRING > then > ACTION_3; > elsif SIZE > 500 > then > ACTION_4; > elsif OS = VMS > ACTION_5; > else > ACTION_6; > end if; > > Remember that at this level it is the job of the compiler > and not the programmer to perform optimization. The two > examples above are quite likely to produce the same machine > code (presuming I made no error in deconstruction). Right. You can trade "deep" vs. "wide" in a construct like this. I think I prefer your second one at the moment; elsif's are good, and the second fragment uses more of them. But this is a horrible contrived example, and if I saw real code like this I would be tempted to look for a bigger reorganization. I would never choose one over the other based on what the compiler would do with them. That's not my job. I see you are one of those "then under if" folks. I've never understood that. :-) But neither example really looks like a C-style switch. I was arguing _for_ the block-if construct, not the other way round. Certainly in Ada, the CASE won't get you as far as the switch will in C. -- Robert Deininger rdeininger@mindspring.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 4:46 ` Rick Cadruvi ` (3 preceding siblings ...) 2001-02-28 18:11 ` Larry Kilgallen @ 2001-03-01 2:18 ` Christof Brass [not found] ` <9hjmlkwyghte@eisner.encompasserve.org> 5 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 2:18 UTC (permalink / raw) Rick Cadruvi wrote: > > > That is an interesting list, because it totally omits the most important > > defect the Ada community sees in C -- pointer arithmetic. For those of > > us with many years of Bliss experience, pointer arithmetic must seem like > > it does to the average C-only programmer ... the only way to handle some > > programs. But once one has a suitable amount of experience with Ada (or > > some other language without pointer arithmetic) it is obvious that the > > use of pointer arithmetic is a significant vulnerability. > > I do agree that pointer arithmetic in C is particularly bad. I guess I > forgot about > it because I don't use it. When I do need to I always type cast or declare > things > as (char *). Anyone who faults C based on the way pointer arithmetic is > done > and the excessive type casting it causes will get NO argument from me. I'm in. > As far as pointer arithmetic being problematic, I agree it can be, but it > can also be very powerful. Not having to program around a problem makes > code more straightforward and therefore less likely to have bugs. You seem to be an exception. And if you use PA in rare cases I believe these cases are justified. > > While the VMS device driver environment is not suitable for Ada, that is > > mainly the result of the way that data structure definitions are provided. > > About the only aspect of VMS device drivers I can think of that could not > > theoretically be done in a safe language would be a driver for a physical > > device on a VAX, to that @!#@$#!%$$#$% wait-for-interrupt-and-keep-channel > > linkage (at least "linkage" is what they would call it if they ever had > > bothered to support it from Bliss. > > > > I would say that this is true. > > > > When I even thing about using a ELSE statement, I force myself to > > > justify it's use. > > > Most programmers think using ELSEs is really great and liberally do > > > nested IF then ELSEs. > > > > But I think that is fine: > > > > if WINE = RED > > then > > .... > > elsif SIZE > 500 > > then > > .... > > elsif AGE /= 17 > > then > > .... > > else > > .... > > end if; > > Your example is fine. I am talking about something like: > > if () > {if () > { > } > else > { > if > { > } > else > { > } > } > } > else > > Its the extra nesting that gets problematic. Your example doesn't > display that type of behavior. I don't see any problem. If this is a mapping of the decision flow why not write it that way? > Even still, I would probably use other constructs like > a switch case statement or something. Switch can only be used directly if you base your decision on the very same attribute. > > > Teach programmers to write code well, and new progrmaming languages will > > > evolve that help us solve the problems better and not ones that prevent > > > us from doing things we shouldn't do in the first place unless they are > > > REALLY required. > > > > But we seem to disagree on what constitutes well-written. > > Can we at least agree that if programmers were taught to write good code in > the first place then a lot of the problems some languages try to solve would > be less of an issue? > > Rick Cadruvi... We can, but this doesn't help us without a definition of what is good source? ^ permalink raw reply [flat|nested] 168+ messages in thread
[parent not found: <9hjmlkwyghte@eisner.encompasserve.org>]
* Re: Drop C/C++ better sooner than later [not found] ` <9hjmlkwyghte@eisner.encompasserve.org> @ 2001-02-28 17:59 ` Bob Koehler 2001-02-28 18:31 ` Bill Gunshannon ` (5 more replies) 2001-02-28 23:08 ` Larry Kilgallen ` (2 subsequent siblings) 3 siblings, 6 replies; 168+ messages in thread From: Bob Koehler @ 2001-02-28 17:59 UTC (permalink / raw) In article <97j7vo$qom@dispatch.concentric.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > I don't think you can blame pointers for errors that are really due > to lazy or bad programming. Just because the whoite paper > says it, doesn't make it true. It is true that languages without > pointers can deal with dynamic memory, however. > > Rick Cadruvi... > Yes I can, because it becomes a cost issue. Why worry about the time and effort needed to find and eliminate those bugs when I have the option of programming in a language that doens't permit those mistakes? Well written code is well written code, but a compiler is a tool and I'm not about to give up on using the right tool for the job. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 17:59 ` Bob Koehler @ 2001-02-28 18:31 ` Bill Gunshannon 2001-03-01 15:40 ` Bob Koehler ` (4 subsequent siblings) 5 siblings, 0 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-02-28 18:31 UTC (permalink / raw) In article <f9yZLDIRFnH3@eisner.encompasserve.org>, koehler@encompasserve.org (Bob Koehler) writes: |> In article <97j7vo$qom@dispatch.concentric.net>, "Rick Cadruvi" <rick@rdperf.com> writes: |> > I don't think you can blame pointers for errors that are really due |> > to lazy or bad programming. Just because the whoite paper |> > says it, doesn't make it true. It is true that languages without |> > pointers can deal with dynamic memory, however. |> |> Yes I can, because it becomes a cost issue. There's never time to do it right, there's always time to do it over. |> Why worry about the time |> and effort needed to find and eliminate those bugs when I have the |> option of programming in a language that doens't permit those mistakes? No language eliminates the possibility of writting buggy code. It is the analysis steps that precede the coding that do that. Language not withstanding. |> |> Well written code is well written code, but a compiler is a tool and I'm |> not about to give up on using the right tool for the job. This is true. But the crux of this discussion has been that it is the fault of the C/C++ languages that lead to bad code. I can write bad code in any language. There may be an Obfuscated C Contest, but the same could be done in most languages. C programmers just have a better sense of humor and don't mind poking fun at themselves. bill (Who has never found the time to actually enter the OCC.) -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 17:59 ` Bob Koehler 2001-02-28 18:31 ` Bill Gunshannon @ 2001-03-01 15:40 ` Bob Koehler 2001-03-01 18:10 ` Larry Kilgallen ` (3 subsequent siblings) 5 siblings, 0 replies; 168+ messages in thread From: Bob Koehler @ 2001-03-01 15:40 UTC (permalink / raw) The following simple little C program has a security hole a mile wide in it. I know I could plug the hole. I also know a lot of C programmers who can't see the hole and have no idea that it's there. I know I could massage this to get through a C++ compiler, so this critisism also applies to C++. I know I need a lot of technical information to take advantage of the hole. Most importantantly I know of no other language in which this is so easy to do, or so hard to see. Which is the point. #include <stdio.h> #include <stdlib.h> main () { FILE *inp; char buffer[81]; int count; inp = fopen("indata","r"); if (inp == NULL) { perror("unable to open indata"); exit(0); } count = fscanf(inp, "%s", buffer); if (count != 1) { fprintf(stderr,"where's the data?\n"); exit(0); } printf("%s\n",buffer); } ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 17:59 ` Bob Koehler 2001-02-28 18:31 ` Bill Gunshannon 2001-03-01 15:40 ` Bob Koehler @ 2001-03-01 18:10 ` Larry Kilgallen [not found] ` <97Organization: Encompasserve <Y$aqbQdRtYFw@eisner.encompasserve.org> ` (2 subsequent siblings) 5 siblings, 0 replies; 168+ messages in thread From: Larry Kilgallen @ 2001-03-01 18:10 UTC (permalink / raw) In article <Y$aqbQdRtYFw@eisner.encompasserve.org>, koehler@encompasserve.org (Bob Koehler) writes: > > The following simple little C program has a security hole a mile > wide in it. > > I know I could plug the hole. I also know a lot of C programmers who > can't see the hole and have no idea that it's there. > > I know I could massage this to get through a C++ compiler, so this > critisism also applies to C++. If you could massage this to get through a C++ compiler, then perhaps the only relevant criticism of C++ is that it allows a programmer to "drop into" ordinary C programming (or perhaps not, I don't know enough C to be a judge of that for your example). But certainly the ability to "drop into" ordinary C is a major complaint about C++ from the safe language advocates. Some Ada compilers have the ability to generate explicit assembler instructions, but it is such an odd looking piece of code, and so unportable, that it is less likely to be used. ^ permalink raw reply [flat|nested] 168+ messages in thread
[parent not found: <97Organization: Encompasserve <Y$aqbQdRtYFw@eisner.encompasserve.org>]
* Re: Drop C/C++ better sooner than later [not found] ` <97Organization: Encompasserve <Y$aqbQdRtYFw@eisner.encompasserve.org> @ 2001-03-01 17:38 ` Rick Cadruvi 2001-03-01 18:53 ` Nikita V. Belenki 1 sibling, 0 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-03-01 17:38 UTC (permalink / raw) Your point only goes to the C libraries and NOT the language itself. You could certainly make the point that unthinking use of the libraries is a problem. It may also be true that other languages don't have such hacks for library routines. Maybe the reason I don't have troubles with C is I don't use the library routines much in real code, just test programs. rick... "Bob Koehler" <koehler@encompasserve.org> wrote in message news:Y$aqbQdRtYFw@eisner.encompasserve.org... > > The following simple little C program has a security hole a mile > wide in it. > > I know I could plug the hole. I also know a lot of C programmers who > can't see the hole and have no idea that it's there. > > I know I could massage this to get through a C++ compiler, so this > critisism also applies to C++. > > I know I need a lot of technical information to take advantage of the > hole. > > Most importantantly I know of no other language in which this is so > easy to do, or so hard to see. Which is the point. > > > #include <stdio.h> > #include <stdlib.h> > > main () > { > FILE *inp; > char buffer[81]; > int count; > > inp = fopen("indata","r"); > > if (inp == NULL) > { > perror("unable to open indata"); > exit(0); > } > > count = fscanf(inp, "%s", buffer); > if (count != 1) > { > fprintf(stderr,"where's the data?\n"); > exit(0); > } > > printf("%s\n",buffer); > > } ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later [not found] ` <97Organization: Encompasserve <Y$aqbQdRtYFw@eisner.encompasserve.org> 2001-03-01 17:38 ` Rick Cadruvi @ 2001-03-01 18:53 ` Nikita V. Belenki 1 sibling, 0 replies; 168+ messages in thread From: Nikita V. Belenki @ 2001-03-01 18:53 UTC (permalink / raw) "Bob Koehler" <koehler@encompasserve.org> wrote in message news:Y$aqbQdRtYFw@eisner.encompasserve.org... > The following simple little C program has a security hole a mile > wide in it. > I know I could plug the hole. I also know a lot of C programmers who > can't see the hole and have no idea that it's there. I don't think you should call them "programmers". > I know I could massage this to get through a C++ compiler, so this > critisism also applies to C++. Sure. But why don't you use std::string? It is much easier to program with it. > I know I need a lot of technical information to take advantage of the > hole. > Most importantantly I know of no other language in which this is so > easy to do, or so hard to see. Which is the point. Why? *I* can easily put a security hole into the program in almost any language ;) Kit. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 17:59 ` Bob Koehler ` (3 preceding siblings ...) [not found] ` <97Organization: Encompasserve <Y$aqbQdRtYFw@eisner.encompasserve.org> @ 2001-03-02 13:13 ` Bob Koehler 2001-03-02 13:24 ` Bob Koehler 5 siblings, 0 replies; 168+ messages in thread From: Bob Koehler @ 2001-03-02 13:13 UTC (permalink / raw) In article <97m1f4$ku3@dispatch.concentric.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > Your point only goes to the C libraries and NOT the language itself. No. The ANSI standard makes the libraries part of the language and the language definition defaults to stack variables. These are important parts of the problem. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-02-28 17:59 ` Bob Koehler ` (4 preceding siblings ...) 2001-03-02 13:13 ` Bob Koehler @ 2001-03-02 13:24 ` Bob Koehler 5 siblings, 0 replies; 168+ messages in thread From: Bob Koehler @ 2001-03-02 13:24 UTC (permalink / raw) In article <vXnXTtygtmov@eisner.encompasserve.org>, Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) writes: > But certainly the ability to "drop into" ordinary C is a major complaint > about C++ from the safe language advocates. Exactly. The C++ iostream doesn't seem to have this problem. On most OS I could call the C RTL from many languages, but it isn't that easy. The problem is how easy it is to get it wrong. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later [not found] ` <9hjmlkwyghte@eisner.encompasserve.org> 2001-02-28 17:59 ` Bob Koehler @ 2001-02-28 23:08 ` Larry Kilgallen 2001-03-01 13:50 ` Bob Koehler 2001-03-01 13:54 ` Bob Koehler 3 siblings, 0 replies; 168+ messages in thread From: Larry Kilgallen @ 2001-02-28 23:08 UTC (permalink / raw) In article <3A9D58D3.92B3B87A@videotron.ca>, JF Mezei <jfmezei.spamnot@videotron.ca> writes: > Is Java a compiled language, or a run-time environment ? Doesn't Java execute > in its own virtual machine with lots of support from the Java engine ? Does > this qualify as a true compiled language ? Java is a programming language. Sun has a compiler that produced normal object code for their operating system. VMS does not. Two years ago I heard the Sun Chief Science Officer talking about the benefits (sic) of Java, and mourning the fact that this sideline feature of the byte code engine implementation was getting all the publicity and hiding the glory of the language when used with a normal compiler. I suppose Java looks good if you are coming from C, and that was his premise. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later [not found] ` <9hjmlkwyghte@eisner.encompasserve.org> 2001-02-28 17:59 ` Bob Koehler 2001-02-28 23:08 ` Larry Kilgallen @ 2001-03-01 13:50 ` Bob Koehler 2001-03-01 13:54 ` Bob Koehler 3 siblings, 0 replies; 168+ messages in thread From: Bob Koehler @ 2001-03-01 13:50 UTC (permalink / raw) In article <3A9D58D3.92B3B87A@videotron.ca>, JF Mezei <jfmezei.spamnot@videotron.ca> writes: > Bob Koehler wrote: >> Really? Then why is it I've got tons of Java with massive use of >> dynamically allocated memory structures working quite well in a language >> which does not have pointers? > > Is Java a compiled language, or a run-time environment ? Doesn't Java execute > in its own virtual machine with lots of support from the Java engine ? Does > this qualify as a true compiled language ? Java is compiled to portable bytecode, and implies a run-time environment. The environment depends on context (the environment for an Applet is more restircted than the environment for an application). > Also, if there is no concept of pointers in Java, do they allow you to cheat > and specify pointers to be passed when you call system services etc ? No. You have to pass arrays. Frequently I find myself creating arrays of 1 element just so I can pass data back through a method argument when passing only via the return value is insufficient. None of the built in classes in the Java environments would require a pointer construct. Calls to other environments via the JNI are most easily handled by C/C++ (just because the JNI generates C/C++ code) where conversion between pointers and arrays is natural. To a VMS system service, for example, there's no difference between a C pointer and a C array address since both pass the address of the data. IIRC some JNI helper functions use pointers, but again you may be able to actually use C array syntax. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later [not found] ` <9hjmlkwyghte@eisner.encompasserve.org> ` (2 preceding siblings ...) 2001-03-01 13:50 ` Bob Koehler @ 2001-03-01 13:54 ` Bob Koehler 2001-03-01 15:12 ` Jan Vorbrueggen 3 siblings, 1 reply; 168+ messages in thread From: Bob Koehler @ 2001-03-01 13:54 UTC (permalink / raw) In article <c4I6TOxIXw24@eisner.encompasserve.org>, Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) writes: > In article <3A9D58D3.92B3B87A@videotron.ca>, JF Mezei <jfmezei.spamnot@videotron.ca> writes: > > Java is a programming language. Sun has a compiler that produced normal > object code for their operating system. VMS does not. > I thought that was one of the points against in suit Sun won, Microsoft could generate native code and Sun held that counter to the Java spec. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation NASA GSFC Flight Software | Federal Sector, Civil Group | please remove ".aspm" when replying ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later 2001-03-01 13:54 ` Bob Koehler @ 2001-03-01 15:12 ` Jan Vorbrueggen 0 siblings, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-03-01 15:12 UTC (permalink / raw) koehler@encompasserve.org (Bob Koehler) writes: > I thought that was one of the points against in suit Sun won, Microsoft > could generate native code and Sun held that counter to the Java spec. IIRC, the point of the suit was that MS's "Java" failed the compliance test because the code generator didn't restrict the processor to the 32-/64-bit IEEE subset required by the spec (something that is difficult to get right in any compiler) "in the interest of performance" or somesuch. Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later [not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <5ABc4wgf5wcs@eisner.encompasserve.org> 2001-02-28 4:46 ` Rick Cadruvi @ 2001-02-28 8:46 ` Jan Vorbrueggen 2001-03-01 1:56 ` Christof Brass 2 siblings, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-02-28 8:46 UTC (permalink / raw) Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) writes: > About the only aspect of VMS device drivers I can think of that could not > theoretically be done in a safe language would be a driver for a physical > device on a VAX, to that @!#@$#!%$$#$% wait-for-interrupt-and-keep-channel > linkage Yes, that was (is) an odd one, eh? On the level of the internal implementation of the MMG services with a common frame work and service-dependent co-routines being call with a fixed register-based interface. I heard one of the reasons that was completely re-written for the Alpha port was that no one understood how it really worked 8-). Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: Drop C/C++ better sooner than later [not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <5ABc4wgf5wcs@eisner.encompasserve.org> 2001-02-28 4:46 ` Rick Cadruvi 2001-02-28 8:46 ` Jan Vorbrueggen @ 2001-03-01 1:56 ` Christof Brass 2 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 1:56 UTC (permalink / raw) Larry Kilgallen wrote: > > In article <cCYm6.1296$CP4.299029@paloalto-snr1.gtei.net>, "Rick Cadruvi" <rick@rdperf.com> writes: > > > > > "Christof Brass" <brass@infopuls.com> wrote in message > > news:3A9C2B88.8032D829@infopuls.com... > >> I don't think it is a good idea to come up with a list of > >> requirements and matching PLs because this will lead the > >> discussion quickly to certain aspects of these PLs instead of > >> talking about the big picture which is from my point of view: > >> can it be possible that something created in the early days of > >> our quick evolving area is still the best tool around?? Is C the > >> wheel of PL science and practice? Is flying impossible? > > > > I disagree. You stated that using C/C++ was stupid (or something > > to that affect) and that you couldn't write good code in it. Therefore. > > naming other languages and their appropriate use is necessary for > > the discussion. Since you won't suggest alternatives, you clearly > > demonstrate an anti C/C++ bias that must be more emotionally > > based than fact based. I haven't even heard your objections to > > C/C++ except their age. > > > > Believe me, I am NOT a defender of C. There are many things I HATE > > about C. Here's 4 of them: > > > > 1. Case Sensitivity. I am use to it, but I think it is a BIG > > problem. tmp, TMP, Tmp, tMp, tmP, TMp, tMP should NOT refer > > to different things. > > > > 2. SWITCH/CASE doesn't auto-break. I NEVER depend on being able > > to fall through to the next CASE in a SWITCH statement. The > > default should be BREAK and allow specifying CONTINUE if you > > want to drop through. THIS IS A BIG PROBLEM!!! > > > > 3. BREAK. Break should be allowed from ALL Begin/End ({}) > > constructs (including IF ELSE). You should also be able to > > BREAK # where # is the number of Begin/End blocks you want > > to break out of. > > > > 4. Use of "==" for compares. It's WAY too easy to put in "=" > > instead. In fact, I usually do a specialized search of ALL > > my code before the first compile just to try and catch these. > > That is an interesting list, because it totally omits the most important > defect the Ada community sees in C -- pointer arithmetic. For those of > us with many years of Bliss experience, pointer arithmetic must seem like > it does to the average C-only programmer ... the only way to handle some > programs. But once one has a suitable amount of experience with Ada (or > some other language without pointer arithmetic) it is obvious that the > use of pointer arithmetic is a significant vulnerability. I agree completely. But I admit that there are rare cases where pointer arithmetic may offer a simpler to write solution. > > However, C is currently one of the most practical development languages > > because you have a large pool of people who know it and can be brought > > in to a project to work on it. This is VERY important in commercially > > viable software. > > I would not want to employ someone who knew only one language, and after > learning a couple adding one more should not be difficult. I have done > some work on an old PL/I program lately, and although I am no expert I > think my defect rate is acceptable. Picking up a new language is not > that difficult. Completely agreed. Knowing different PLs is even statistically more important than a lot years of experience (Ed Yourdan in "Decline and Fall of the American Programmer"). > > > Also, it is portable if the programmer isn't too careless. You always > > have to assume your code will need to run on another platform/OS. > > Certainly Ada is just as portable. True also. > > My ideal language would probably be mostly a combination of BLISS and C. > > However, I do mostly tools and System programming. Therefore, I am not > > probably the best sample case for what makes a good programming language. > > While the VMS device driver environment is not suitable for Ada, that is > mainly the result of the way that data structure definitions are provided. > About the only aspect of VMS device drivers I can think of that could not > theoretically be done in a safe language would be a driver for a physical > device on a VAX, to that @!#@$#!%$$#$% wait-for-interrupt-and-keep-channel > linkage (at least "linkage" is what they would call it if they ever had > bothered to support it from Bliss). > > > One thing I don't want is a language to get in the way. A lot of newer > > languages are designed to prevent programmers for doing things to keep > > them from making mistakes. I understand this logic, but what you have > > is an effort to over compensate because programmers were never taught > > to program well and they write BAD code. > > > > In order for a language to be useable, they invariably provide some > > "backdoor" that allows you to do the things you really want to do. > > As a result, those "backdoors" get abused. Along comes someone else > > who says they have to do something new that removes that "backdoor". > > As more code is written in the new language, it becomes clear that new > > "backdoors" have to be implemented because the language is preventing > > complex things from being done or at least is making them so difficult > > that they take too long. This was always my problem with ADA. > > Presuming you mean Ada :-), please be more specific. Of course Ada > requires strict definitions of data structures, and VMS does not provide > them, that is a given. > > > How many times do you still hear programmers justify the requirement that > > all routines exit at the bottom, or insist it is more efficient to write > > fewer large routines than many small routines to save a few routine calls. > > As long as this ignorance persists, all the GREAT new programming languages > > won't solve the problem. > > One problem C programmers seem to have more than programmers of safe > languages is that as the programmer they are in charge of low-level > optimization. Certainly they must deal with how many reads of the > disk are performed (efficient use of cache), but they do _not_ need > to be concerned with the performance difference between an IF and > a CASE statement (probably not proper C terminology) as the compiler > will sort that out and invalidate any attempted optimizations on the > part of the programmer. > > > When I even thing about using a ELSE statement, I force myself to justify > > it's use. > > Most programmers think using ELSEs is really great and liberally do nested > > IF then ELSEs. > > But I think that is fine: > > if WINE = RED > then > .... > elsif SIZE > 500 > then > .... > elsif AGE /= 17 > then > .... > else > .... > end if; > Agreed. Good example BTW because it can't be implemented with a CASE/Switch statement. > > Teach programmers to write code well, and new progrmaming languages will > > evolve that help us solve the problems better and not ones that prevent us > > from doing things we shouldn't do in the first place unless they are REALLY > > required. > > But we seem to disagree on what constitutes well-written. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: So what Are we meant to use on the 'desktop' 2001-02-25 19:23 ` David Mathog 2001-02-26 1:18 ` Christof Brass @ 2001-02-26 12:17 ` Alan Greig 1 sibling, 0 replies; 168+ messages in thread From: Alan Greig @ 2001-02-26 12:17 UTC (permalink / raw) On 25 Feb 2001 19:23:22 GMT, mathog@seqaxp.bio.caltech.edu (David Mathog) wrote: >In article <Zpbm6.11523$CW1.8866923@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> writes: >> >>"Paul Repacholi" <prep@prep.synonet.com> wrote in message >>news:87n1baae6s.fsf@prep.synonet.com... >><snip> >>> > - Star Office >>> Ask Sun. BTW, I have no use for such a package. >> >>I came, I installed, I deleted. > >Me too. > >>That said, Compaq has a team of folks >>working on StarOrifice for OpenVMS as we speak. This is an outside project, >>e.g. not formally sanctioned and not being done during regular working >>hours. For those who appreciate ye olde ironic twist, it would do O. Henry >>proud to see Sun officeware running on an Alpha box when "Strategic Partner" >>Microsoft shafted DECpaq on the MS-Office on Alpha deal. > >Compaq really should buy Corel (asking price is approximately 0 dollars) >and use it to provide a software base for the Alpha. If Compaq doesn't >spend the money nobody else will either. Last time I used wordperfect it >worked a lot better than StarOffice does. Plus some of the programs in >Corel's stable are really very good, like CorelDraw. Nothing I tried in >StarOffice was anywhere near that quality. > >They should also pay Opera for a port. I'm not at all sure Mozilla is ever >going to arrive... Mozilla seems to be following its current release road map through to 1.0. 0.8 on VMS is a lot faster than previous releases and is faster than Internet Explorer on almost all pages. AOL/Netscape made a mistake in releasing Netscape 6.0 based on Mozilla 0.6. It's given Netscape a terrible reputation because a released product is based on pre-beta test code. >Regards, > >David Mathog >mathog@seqaxp.bio.caltech.edu >Manager, sequence analysis facility, biology division, Caltech >************************************************************************** >* RIP VMS * >************************************************************************** -- Alan ^ permalink raw reply [flat|nested] 168+ messages in thread
* VMS wanted list. Was: So what Are we meant to use on the 'desktop' 2001-02-25 17:38 ` So what Are we meant to use on the 'desktop' Terry C. Shannon 2001-02-25 19:23 ` David Mathog @ 2001-02-25 19:51 ` Paul Repacholi 2001-02-25 20:45 ` VMS wanted list Terry C. Shannon 2001-02-26 16:47 ` VMS wanted list. Was: So what Are we meant to use on the 'desktop' Hoff Hoffman 1 sibling, 2 replies; 168+ messages in thread From: Paul Repacholi @ 2001-02-25 19:51 UTC (permalink / raw) "Terry C. Shannon" <terryshannon@mediaone.net> writes: > I came, I installed, I deleted. That said, Compaq has a team of > folks working on StarOrifice for OpenVMS as we speak. This is an > outside project, e.g. not formally sanctioned and not being done > during regular working hours. Hum, perhaps it is time for a 'what do folks want on VMS' list. -- Paul Repacholi 1 Crescent Rd., +61 (08) 9257-1001 Kalamunda. West Australia 6076 Raw, Cooked or Well-done, it's all half baked. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-25 19:51 ` VMS wanted list. Was: " Paul Repacholi @ 2001-02-25 20:45 ` Terry C. Shannon 2001-02-25 22:44 ` Howard S Shubs 2001-02-26 12:43 ` Larry Kilgallen 2001-02-26 16:47 ` VMS wanted list. Was: So what Are we meant to use on the 'desktop' Hoff Hoffman 1 sibling, 2 replies; 168+ messages in thread From: Terry C. Shannon @ 2001-02-25 20:45 UTC (permalink / raw) "Paul Repacholi" <prep@prep.synonet.com> wrote in message news:871ysma6dz.fsf_-_@prep.synonet.com... > "Terry C. Shannon" <terryshannon@mediaone.net> writes: > > > I came, I installed, I deleted. That said, Compaq has a team of > > folks working on StarOrifice for OpenVMS as we speak. This is an > > outside project, e.g. not formally sanctioned and not being done > > during regular working hours. > > Hum, perhaps it is time for a 'what do folks want on VMS' list. > Not a bad idea. Back in the good old days, the DECUS US Chapter VAX SIG maintained a System Improvement Request (SIR) list for this very purpose. Until such time as Compaq (or someone) elects to implement a wishlist, the best thing I can think of to do is submit suggestions at www.compaqworkinggroup.org. If you browse the current voting list (available until March 5) you'll note the presence of VMS-centric issues. Said presence is directly attributable to the number of VMS-related inputs to the first issue submission cycle. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-25 20:45 ` VMS wanted list Terry C. Shannon @ 2001-02-25 22:44 ` Howard S Shubs 2001-02-26 0:37 ` Terry C. Shannon 2001-02-26 0:48 ` Christof Brass 2001-02-26 12:43 ` Larry Kilgallen 1 sibling, 2 replies; 168+ messages in thread From: Howard S Shubs @ 2001-02-25 22:44 UTC (permalink / raw) In article <p9em6.11670$CW1.8979795@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> wrote: >Until such time as Compaq (or someone) elects to implement a wishlist, the >best thing I can think of to do is submit suggestions at >www.compaqworkinggroup.org. If you browse the current voting list (available >until March 5) you'll note the presence of VMS-centric issues. Said presence >is directly attributable to the number of VMS-related inputs to the first >issue submission cycle. I wish Compaq would use VMS to smash Microsoft and take back the computing world, then buy IBM and become the -next- Microsoft. Howzat? -- Howard S Shubs "Run in circles, scream and shout!" "I hope you have good backups!" ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-25 22:44 ` Howard S Shubs @ 2001-02-26 0:37 ` Terry C. Shannon 2001-02-26 1:19 ` Eric Smith ` (2 more replies) 2001-02-26 0:48 ` Christof Brass 1 sibling, 3 replies; 168+ messages in thread From: Terry C. Shannon @ 2001-02-26 0:37 UTC (permalink / raw) "Howard S Shubs" <hshubs@mindspring.com> wrote in message news:hshubs- > > I wish Compaq would use VMS to smash Microsoft and take back the computing > world, then buy IBM and become the -next- Microsoft. Howzat? > -- Well, like my late mother (who was never late when she was alive) said, "If wishes were horses all beggars would ride." It would be real tough for CPQ to smash u$oft with VMS since u$oft has access to the IP via the technology cross-licensing sellout engineered by an erstwhile Digital CTO. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 0:37 ` Terry C. Shannon @ 2001-02-26 1:19 ` Eric Smith 2001-02-26 4:13 ` Howard S Shubs 2001-02-26 19:16 ` Rick Cadruvi 2 siblings, 0 replies; 168+ messages in thread From: Eric Smith @ 2001-02-26 1:19 UTC (permalink / raw) "Terry C. Shannon" <terryshannon@mediaone.net> writes: > Well, like my late mother (who was never late when she was alive) said, "If > wishes were horses all beggars would ride." It would be real tough for CPQ > to smash u$oft with VMS since u$oft has access to the IP via the technology > cross-licensing sellout engineered by an erstwhile Digital CTO. And if horses were vicious, rides would go begging. If Microsoft is a horse, it's a particularly vicious one. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 0:37 ` Terry C. Shannon 2001-02-26 1:19 ` Eric Smith @ 2001-02-26 4:13 ` Howard S Shubs 2001-02-26 5:27 ` Terry C. Shannon 2001-02-26 11:27 ` Brian Schenkenberger, VAXman- 2001-02-26 19:16 ` Rick Cadruvi 2 siblings, 2 replies; 168+ messages in thread From: Howard S Shubs @ 2001-02-26 4:13 UTC (permalink / raw) In article <pzhm6.11740$CW1.9124234@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> wrote: >Well, like my late mother (who was never late when she was alive) said, "If >wishes were horses all beggars would ride." It would be real tough for CPQ >to smash u$oft with VMS since u$oft has access to the IP via the technology Access to the IP? What? -- Howard S Shubs "Run in circles, scream and shout!" "I hope you have good backups!" ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 4:13 ` Howard S Shubs @ 2001-02-26 5:27 ` Terry C. Shannon 2001-02-26 6:38 ` Howard S Shubs 2001-02-26 15:35 ` Tim Llewellyn 2001-02-26 11:27 ` Brian Schenkenberger, VAXman- 1 sibling, 2 replies; 168+ messages in thread From: Terry C. Shannon @ 2001-02-26 5:27 UTC (permalink / raw) "Howard S Shubs" <hshubs@mindspring.com> wrote in message news:hshubs-3FD2A5.23130425022001@news.mindspring.com... > In article <pzhm6.11740$CW1.9124234@typhoon.ne.mediaone.net>, > "Terry C. Shannon" <terryshannon@mediaone.net> wrote: > > >Well, like my late mother (who was never late when she was alive) said, "If > >wishes were horses all beggars would ride." It would be real tough for CPQ > >to smash u$oft with VMS since u$oft has access to the IP via the technology > > Access to the IP? What? Intellectual property. The technology cross-licensing agreement between DEC and u$oft under the August 1995 "Alliance for Enterprise Computing" is far-reaching indeed. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 5:27 ` Terry C. Shannon @ 2001-02-26 6:38 ` Howard S Shubs 2001-02-27 0:12 ` Christof Brass ` (4 more replies) 2001-02-26 15:35 ` Tim Llewellyn 1 sibling, 5 replies; 168+ messages in thread From: Howard S Shubs @ 2001-02-26 6:38 UTC (permalink / raw) In article <6Plm6.11815$CW1.9296284@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> wrote: >Intellectual property. Ah, a usage I've not seen before. >The technology cross-licensing agreement between DEC >and u$oft under the August 1995 "Alliance for Enterprise Computing" is >far-reaching indeed. I stopped cursing Palmer when I found out that he was apparently hired to do what he did. I started cursing the BoD instead. -- Howard S Shubs "Run in circles, scream and shout!" "I hope you have good backups!" ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 6:38 ` Howard S Shubs @ 2001-02-27 0:12 ` Christof Brass 2001-02-27 3:22 ` Terry C. Shannon 2001-02-27 11:15 ` Brian Schenkenberger, VAXman- ` (3 subsequent siblings) 4 siblings, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-02-27 0:12 UTC (permalink / raw) Howard S Shubs wrote: > > In article <6Plm6.11815$CW1.9296284@typhoon.ne.mediaone.net>, > "Terry C. Shannon" <terryshannon@mediaone.net> wrote: > > >Intellectual property. > > Ah, a usage I've not seen before. > > >The technology cross-licensing agreement between DEC > >and u$oft under the August 1995 "Alliance for Enterprise Computing" is > >far-reaching indeed. > > I stopped cursing Palmer when I found out that he was apparently hired to do > what he did. I started cursing the BoD instead. > -- > Howard S Shubs > "Run in circles, scream and shout!" "I hope you have good backups!" Palmer should be tortured at least for ten year and then be killed. A person who let himself or herself hire for doing that is a ... sorry my English vocabulary doesn't offer bad enough word for that type of person. I don't disagree to let the BoD join Palmer's treatment (ten years torture and then be killed). Or is there a better punishment? ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-27 0:12 ` Christof Brass @ 2001-02-27 3:22 ` Terry C. Shannon 2001-02-27 22:37 ` Christof Brass 0 siblings, 1 reply; 168+ messages in thread From: Terry C. Shannon @ 2001-02-27 3:22 UTC (permalink / raw) > > > > >The technology cross-licensing agreement between DEC > > >and u$oft under the August 1995 "Alliance for Enterprise Computing" is > > >far-reaching indeed. > > > > I stopped cursing Palmer when I found out that he was apparently hired to do > > what he did. I started cursing the BoD instead. Your curses are probably directed accurately. Palmer was not the person who negotiated the Alliance for Enterprise Organ-Donation, either. That deed was accomplished by the CTO, who accepted the very first offer u$oft threw over the transom. Had DEC negotiated more effectively, perhaps u$oft would have agreed to provide server AND client-side Intel apps parity for AlphaNT. Had this happened, things might look different today. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-27 3:22 ` Terry C. Shannon @ 2001-02-27 22:37 ` Christof Brass 0 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-02-27 22:37 UTC (permalink / raw) "Terry C. Shannon" wrote: > > > > > > > >The technology cross-licensing agreement between DEC > > > >and u$oft under the August 1995 "Alliance for Enterprise Computing" is > > > >far-reaching indeed. > > > > > > I stopped cursing Palmer when I found out that he was apparently hired > to do > > > what he did. I started cursing the BoD instead. > > Your curses are probably directed accurately. Palmer was not the person who > negotiated the Alliance for Enterprise Organ-Donation, either. That deed was > accomplished by the CTO, who accepted the very first offer u$oft threw over > the transom. Had DEC negotiated more effectively, perhaps u$oft would have > agreed to provide server AND client-side Intel apps parity for AlphaNT. Had > this happened, things might look different today. If you are honest and in a position of loosing a lot of money daily and you face a gangster for negotiation it's not easy to come to a fair deal. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 6:38 ` Howard S Shubs 2001-02-27 0:12 ` Christof Brass @ 2001-02-27 11:15 ` Brian Schenkenberger, VAXman- 2001-02-27 22:37 ` Christof Brass 2001-02-28 2:12 ` Bob Kaplow ` (2 subsequent siblings) 4 siblings, 1 reply; 168+ messages in thread From: Brian Schenkenberger, VAXman- @ 2001-02-27 11:15 UTC (permalink / raw) In article <3A9AF0DB.FF5432C1@infopuls.com>, Christof Brass <brass@infopuls.com> writes: >Howard S Shubs wrote: >> >> In article <6Plm6.11815$CW1.9296284@typhoon.ne.mediaone.net>, >> "Terry C. Shannon" <terryshannon@mediaone.net> wrote: >> >> >Intellectual property. >> >> Ah, a usage I've not seen before. >> >> >The technology cross-licensing agreement between DEC >> >and u$oft under the August 1995 "Alliance for Enterprise Computing" is >> >far-reaching indeed. >> >> I stopped cursing Palmer when I found out that he was apparently hired to do >> what he did. I started cursing the BoD instead. >> -- >> Howard S Shubs >> "Run in circles, scream and shout!" "I hope you have good backups!" > >Palmer should be tortured at least for ten year and then be >killed. >A person who let himself or herself hire for doing that is a ... >sorry my English vocabulary doesn't offer bad enough word for >that type of person. >I don't disagree to let the BoD join Palmer's treatment (ten >years torture and then be killed). >Or is there a better punishment? Yes! 10 years of using M$ products! -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM city, n., 1. a place where trees are cut down and streets are named after them. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-27 11:15 ` Brian Schenkenberger, VAXman- @ 2001-02-27 22:37 ` Christof Brass 0 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-02-27 22:37 UTC (permalink / raw) "Brian Schenkenberger, VAXman-" wrote: > > In article <3A9AF0DB.FF5432C1@infopuls.com>, Christof Brass <brass@infopuls.com> writes: > >Howard S Shubs wrote: > >> > >> In article <6Plm6.11815$CW1.9296284@typhoon.ne.mediaone.net>, > >> "Terry C. Shannon" <terryshannon@mediaone.net> wrote: > >> > >> >Intellectual property. > >> > >> Ah, a usage I've not seen before. > >> > >> >The technology cross-licensing agreement between DEC > >> >and u$oft under the August 1995 "Alliance for Enterprise Computing" is > >> >far-reaching indeed. > >> > >> I stopped cursing Palmer when I found out that he was apparently hired to do > >> what he did. I started cursing the BoD instead. > >> -- > >> Howard S Shubs > >> "Run in circles, scream and shout!" "I hope you have good backups!" > > > >Palmer should be tortured at least for ten year and then be > >killed. > >A person who let himself or herself hire for doing that is a ... > >sorry my English vocabulary doesn't offer bad enough word for > >that type of person. > >I don't disagree to let the BoD join Palmer's treatment (ten > >years torture and then be killed). > >Or is there a better punishment? > > Yes! 10 years of using M$ products! > > -- > VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM > > city, n., 1. a place where trees are cut down and streets are named after them. Very elegant solution! ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 6:38 ` Howard S Shubs 2001-02-27 0:12 ` Christof Brass 2001-02-27 11:15 ` Brian Schenkenberger, VAXman- @ 2001-02-28 2:12 ` Bob Kaplow [not found] ` <3A9AF0DB.Organization: What, me, organized? <rUslzcAE$7$5@eisner.encompasserve.org> 2001-03-12 13:52 ` Bob Kaplow 4 siblings, 0 replies; 168+ messages in thread From: Bob Kaplow @ 2001-02-28 2:12 UTC (permalink / raw) In article <3A9AF0DB.FF5432C1@infopuls.com>, Christof Brass <brass@infopuls.com> writes: > Howard S Shubs wrote: >> >> In article <6Plm6.11815$CW1.9296284@typhoon.ne.mediaone.net>, >> "Terry C. Shannon" <terryshannon@mediaone.net> wrote: >> >> >Intellectual property. >> >> Ah, a usage I've not seen before. >> >> >The technology cross-licensing agreement between DEC >> >and u$oft under the August 1995 "Alliance for Enterprise Computing" is >> >far-reaching indeed. >> >> I stopped cursing Palmer when I found out that he was apparently hired to do >> what he did. I started cursing the BoD instead. >> -- >> Howard S Shubs >> "Run in circles, scream and shout!" "I hope you have good backups!" > > Palmer should be tortured at least for ten year and then be > killed. > A person who let himself or herself hire for doing that is a ... > sorry my English vocabulary doesn't offer bad enough word for > that type of person. > I don't disagree to let the BoD join Palmer's treatment (ten > years torture and then be killed). > Or is there a better punishment? I'd still settle for having Palmer be the next CEO of Microsoft :-( ^ permalink raw reply [flat|nested] 168+ messages in thread
[parent not found: <3A9AF0DB.Organization: What, me, organized? <rUslzcAE$7$5@eisner.encompasserve.org>]
* Re: VMS wanted list. [not found] ` <3A9AF0DB.Organization: What, me, organized? <rUslzcAE$7$5@eisner.encompasserve.org> @ 2001-03-12 2:49 ` Mark Garrett 0 siblings, 0 replies; 168+ messages in thread From: Mark Garrett @ 2001-03-12 2:49 UTC (permalink / raw) in article rUslzcAE$7$5@eisner.encompasserve.org, Bob Kaplow at kaplow_r@eisner.encompasserve.org.mars wrote on 28/02/2001 13:12: > In article <3A9AF0DB.FF5432C1@infopuls.com>, Christof Brass > <brass@infopuls.com> writes: >> Howard S Shubs wrote: >>> >>> In article <6Plm6.11815$CW1.9296284@typhoon.ne.mediaone.net>, >>> "Terry C. Shannon" <terryshannon@mediaone.net> wrote: >>> >>>> Intellectual property. >>> >>> Ah, a usage I've not seen before. >>> >>>> The technology cross-licensing agreement between DEC >>>> and u$oft under the August 1995 "Alliance for Enterprise Computing" is >>>> far-reaching indeed. >>> >>> I stopped cursing Palmer when I found out that he was apparently hired to do >>> what he did. I started cursing the BoD instead. >>> -- >>> Howard S Shubs >>> "Run in circles, scream and shout!" "I hope you have good backups!" >> >> Palmer should be tortured at least for ten year and then be >> killed. >> A person who let himself or herself hire for doing that is a ... >> sorry my English vocabulary doesn't offer bad enough word for >> that type of person. >> I don't disagree to let the BoD join Palmer's treatment (ten >> years torture and then be killed). >> Or is there a better punishment? > > > I'd still settle for having Palmer be the next CEO of Microsoft :-( What a great idea :) He could manage the split up of Microsoft so well, with his wealth of experience at screwing DEC/Digital. He could maybe break it down to bits small enough for some PeeCee vendor to buy:) ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 6:38 ` Howard S Shubs ` (3 preceding siblings ...) [not found] ` <3A9AF0DB.Organization: What, me, organized? <rUslzcAE$7$5@eisner.encompasserve.org> @ 2001-03-12 13:52 ` Bob Kaplow 4 siblings, 0 replies; 168+ messages in thread From: Bob Kaplow @ 2001-03-12 13:52 UTC (permalink / raw) In article <B6D28125.13130%Mark.Garrett@wedontwantyourspam.com.au>, Mark Garrett <Mark.Garrett@wedontwantyourspam.com.au> writes: > in article rUslzcAE$7$5@eisner.encompasserve.org, Bob Kaplow at > kaplow_r@eisner.encompasserve.org.mars wrote on 28/02/2001 13:12: >> I'd still settle for having Palmer be the next CEO of Microsoft :-( > > What a great idea :) He could manage the split up of Microsoft so well, > with his wealth of experience at screwing DEC/Digital. He could maybe break > it down to bits small enough for some PeeCee vendor to buy:) Don't forget, before Palmer destroyed DEC, he did the same for a company called MOSTEK. Anybody remember them? Anybody seen them around lately? BTW, last I heard, Palmer is at AMD. So much for them... ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 5:27 ` Terry C. Shannon 2001-02-26 6:38 ` Howard S Shubs @ 2001-02-26 15:35 ` Tim Llewellyn 2001-02-26 23:51 ` Terry C. Shannon 2001-02-27 0:15 ` Christof Brass 1 sibling, 2 replies; 168+ messages in thread From: Tim Llewellyn @ 2001-02-26 15:35 UTC (permalink / raw) "Terry C. Shannon" wrote: > > > Intellectual property. The technology cross-licensing agreement between DEC > and u$oft under the August 1995 "Alliance for Enterprise Computing" is > far-reaching indeed. Given the little use that u$oft seem to have made of said IP, can we conclude that this was another clever tactic to cripple to opposition (VMS)? -- Tim Llewellyn, OpenVMS Infrastructure, Remarcs Project MedAS at the BBC, Whiteladies Road, Bristol, UK. Email tim.llewellyn@bbc.co.uk. Home tim.llewellyn@cableinet.co.uk I speak for myself only and my views in no way represent those of MedAS or the BBC. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 15:35 ` Tim Llewellyn @ 2001-02-26 23:51 ` Terry C. Shannon 2001-02-27 0:15 ` Christof Brass 1 sibling, 0 replies; 168+ messages in thread From: Terry C. Shannon @ 2001-02-26 23:51 UTC (permalink / raw) "Tim Llewellyn" <tim.llewellyn@bbc.co.uk> wrote in message news:3A9A77AD.75109A63@bbc.co.uk... > > > "Terry C. Shannon" wrote: > > > > > > > Intellectual property. The technology cross-licensing agreement between DEC > > and u$oft under the August 1995 "Alliance for Enterprise Computing" is > > far-reaching indeed. > > Given the little use that u$oft seem to have made of said IP, can we conclude > that this was another clever tactic to cripple to opposition (VMS)? > How can one draw this conclusion? Compaq is not constrained in its ability to use its IP in OpenVMS. Microsoft has had the ability to use the NT cluster file system, Digital Clusters for NT, etc, etc, etc, etc and has chosen not to do so. Their loss, not CPQ's. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 15:35 ` Tim Llewellyn 2001-02-26 23:51 ` Terry C. Shannon @ 2001-02-27 0:15 ` Christof Brass 1 sibling, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-02-27 0:15 UTC (permalink / raw) Tim Llewellyn wrote: > > "Terry C. Shannon" wrote: > > > > > > > Intellectual property. The technology cross-licensing agreement between DEC > > and u$oft under the August 1995 "Alliance for Enterprise Computing" is > > far-reaching indeed. > > Given the little use that u$oft seem to have made of said IP, can we conclude > that this was another clever tactic to cripple to opposition (VMS)? > > -- > Tim Llewellyn, OpenVMS Infrastructure, Remarcs Project > MedAS at the BBC, Whiteladies Road, Bristol, UK. > Email tim.llewellyn@bbc.co.uk. Home tim.llewellyn@cableinet.co.uk > > I speak for myself only and my views in no way represent those of > MedAS or the BBC. The problem is as long as this contract is valid u$ can take whenever something important is there. But I doubt that u$ will have any chance for success in sueing Q if Q decide to stop delivering ideas/plans/sources. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 4:13 ` Howard S Shubs 2001-02-26 5:27 ` Terry C. Shannon @ 2001-02-26 11:27 ` Brian Schenkenberger, VAXman- 2001-02-27 21:43 ` Terry C Shannon 2001-02-27 22:07 ` Brian Schenkenberger, VAXman- 1 sibling, 2 replies; 168+ messages in thread From: Brian Schenkenberger, VAXman- @ 2001-02-26 11:27 UTC (permalink / raw) In article <6Plm6.11815$CW1.9296284@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> writes: > >"Howard S Shubs" <hshubs@mindspring.com> wrote in message >news:hshubs-3FD2A5.23130425022001@news.mindspring.com... >> In article <pzhm6.11740$CW1.9124234@typhoon.ne.mediaone.net>, >> "Terry C. Shannon" <terryshannon@mediaone.net> wrote: >> >> >Well, like my late mother (who was never late when she was alive) said, >"If >> >wishes were horses all beggars would ride." It would be real tough for >CPQ >> >to smash u$oft with VMS since u$oft has access to the IP via the >technology >> >> Access to the IP? What? > >Intellectual property. The technology cross-licensing agreement between DEC >and u$oft under the August 1995 "Alliance for Enterprise Computing" is >far-reaching indeed. What technology did/does DEC/Compaq get from M$? Perhaps, how to produce buggier products and rush them to hapless customers before they are really ready to ship? Yeah, I'm all for that! ;( Compaq purchased DEC after the DEC agreement. Why do they perpetuate it? Did they (Compaq) ink a similar agreement? -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM city, n., 1. a place where trees are cut down and streets are named after them. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 11:27 ` Brian Schenkenberger, VAXman- @ 2001-02-27 21:43 ` Terry C Shannon 2001-02-27 22:07 ` Brian Schenkenberger, VAXman- 1 sibling, 0 replies; 168+ messages in thread From: Terry C Shannon @ 2001-02-27 21:43 UTC (permalink / raw) On Mon, 26 Feb 2001, Brian Schenkenberger, VAXman- wrote: > >Intellectual property. The technology cross-licensing agreement between DEC > >and u$oft under the August 1995 "Alliance for Enterprise Computing" is > >far-reaching indeed. > > What technology did/does DEC/Compaq get from M$? Perhaps, how to produce > buggier products and rush them to hapless customers before they are really > ready to ship? Yeah, I'm all for that! ;( Heck, I don't even know if DEC got THAT much. You'd have to ask the former CTO. He would know. He did the deal. > > Compaq purchased DEC after the DEC agreement. Why do they perpetuate it? > Did they (Compaq) ink a similar agreement? > -- I could well imagine Herr Pfeiffer doing just that, but I honestly don't know. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 11:27 ` Brian Schenkenberger, VAXman- 2001-02-27 21:43 ` Terry C Shannon @ 2001-02-27 22:07 ` Brian Schenkenberger, VAXman- 1 sibling, 0 replies; 168+ messages in thread From: Brian Schenkenberger, VAXman- @ 2001-02-27 22:07 UTC (permalink / raw) In article <Pine.SGI.4.21.0102271641180.16746-100000@world.std.com>, Terry C Shannon <shannon@world.std.com> writes: > > >On Mon, 26 Feb 2001, Brian Schenkenberger, VAXman- wrote: > >> >Intellectual property. The technology cross-licensing agreement between DEC >> >and u$oft under the August 1995 "Alliance for Enterprise Computing" is >> >far-reaching indeed. >> >> What technology did/does DEC/Compaq get from M$? Perhaps, how to produce >> buggier products and rush them to hapless customers before they are really >> ready to ship? Yeah, I'm all for that! ;( > > >Heck, I don't even know if DEC got THAT much. You'd have to ask the former >CTO. He would know. He did the deal. > >> >> Compaq purchased DEC after the DEC agreement. Why do they perpetuate it? >> Did they (Compaq) ink a similar agreement? >> -- > >I could well imagine Herr Pfeiffer doing just that, but I honestly don't >know. > I really didn't expect you to know or to answer these rhetorical questions. -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM city, n., 1. a place where trees are cut down and streets are named after them. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 0:37 ` Terry C. Shannon 2001-02-26 1:19 ` Eric Smith 2001-02-26 4:13 ` Howard S Shubs @ 2001-02-26 19:16 ` Rick Cadruvi 2 siblings, 0 replies; 168+ messages in thread From: Rick Cadruvi @ 2001-02-26 19:16 UTC (permalink / raw) Not only that, but it woudl take FOREVER for Compaq to get the applications on VMS that would be needed to make is a true competitor to Windows. Few developers of applications are going to say: "Gee, I think I'll make my application run on an OS with maybe a MILLION copies out there instead of an OS with maybe a BILLION copies out there." just my opinion, Rick Cadruvi... "Terry C. Shannon" <terryshannon@mediaone.net> wrote in message news:pzhm6.11740$CW1.9124234@typhoon.ne.mediaone.net... > > "Howard S Shubs" <hshubs@mindspring.com> wrote in message news:hshubs- > > > > I wish Compaq would use VMS to smash Microsoft and take back the computing > > world, then buy IBM and become the -next- Microsoft. Howzat? > > -- > > Well, like my late mother (who was never late when she was alive) said, "If > wishes were horses all beggars would ride." It would be real tough for CPQ > to smash u$oft with VMS since u$oft has access to the IP via the technology > cross-licensing sellout engineered by an erstwhile Digital CTO. > > ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-25 22:44 ` Howard S Shubs 2001-02-26 0:37 ` Terry C. Shannon @ 2001-02-26 0:48 ` Christof Brass 1 sibling, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-02-26 0:48 UTC (permalink / raw) Howard S Shubs wrote: > > In article <p9em6.11670$CW1.8979795@typhoon.ne.mediaone.net>, > "Terry C. Shannon" <terryshannon@mediaone.net> wrote: > > >Until such time as Compaq (or someone) elects to implement a wishlist, the > >best thing I can think of to do is submit suggestions at > >www.compaqworkinggroup.org. If you browse the current voting list (available > >until March 5) you'll note the presence of VMS-centric issues. Said presence > >is directly attributable to the number of VMS-related inputs to the first > >issue submission cycle. > > I wish Compaq would use VMS to smash Microsoft and take back the computing > world, then buy IBM and become the -next- Microsoft. Howzat? > -- > Howard S Shubs > "Run in circles, scream and shout!" "I hope you have good backups!" Honestly I read this last three or four messages with the changed topic "VMS wanted list." *after* I created a new thread topic "VMS apps wishlist". I created "my" new thread topic after reading the three messages of Paul Sture who christianed the other thread "Now: Where are the VMS apps? Was: 1.2 GHz Alpha Microprocessor", Paul Repacholi who answered and Rick Cadruvi who answered also. I "cordialmente" invite all to the newly created thread "VMS apps wishlist". BTW I'm not sure if using the easiest to use programs on other OSs will be the most economic way to do the work if we take into account break downs, data corruption, data losses and damage done by viruses and hostile attacks due to security issues. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-25 20:45 ` VMS wanted list Terry C. Shannon 2001-02-25 22:44 ` Howard S Shubs @ 2001-02-26 12:43 ` Larry Kilgallen 2001-02-26 13:02 ` Terry C. Shannon 2001-02-26 15:48 ` Jan Vorbrueggen 1 sibling, 2 replies; 168+ messages in thread From: Larry Kilgallen @ 2001-02-26 12:43 UTC (permalink / raw) In article <p9em6.11670$CW1.8979795@typhoon.ne.mediaone.net>, "Terry C. Shannon" <terryshannon@mediaone.net> writes: > > "Paul Repacholi" <prep@prep.synonet.com> wrote in message > news:871ysma6dz.fsf_-_@prep.synonet.com... >> "Terry C. Shannon" <terryshannon@mediaone.net> writes: >> >> > I came, I installed, I deleted. That said, Compaq has a team of >> > folks working on StarOrifice for OpenVMS as we speak. This is an >> > outside project, e.g. not formally sanctioned and not being done >> > during regular working hours. >> >> Hum, perhaps it is time for a 'what do folks want on VMS' list. >> > > Not a bad idea. Back in the good old days, the DECUS US Chapter VAX SIG > maintained a System Improvement Request (SIR) list for this very purpose. > > Until such time as Compaq (or someone) elects to implement a wishlist, the > best thing I can think of to do is submit suggestions at > www.compaqworkinggroup.org. What _I_ want for VMS is for somebody to fix that site so voting works with secured browsers. I tried again this morning and it _still_ gives an error message saying (page http://compaqworkinggroup.org/JavascriptCheck.cfm) that JavaScript is required. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 12:43 ` Larry Kilgallen @ 2001-02-26 13:02 ` Terry C. Shannon 2001-02-26 15:48 ` Jan Vorbrueggen 1 sibling, 0 replies; 168+ messages in thread From: Terry C. Shannon @ 2001-02-26 13:02 UTC (permalink / raw) "Larry Kilgallen" <Kilgallen@eisner.decus.org.nospam> wrote in message news:ysEzrWdZG8bT@eisner.encompasserve.org... > > What _I_ want for VMS is for somebody to fix that site so voting works with > secured browsers. I tried again this morning and it _still_ gives an error > message saying (page http://compaqworkinggroup.org/JavascriptCheck.cfm) that > JavaScript is required. Noted and passed along to Smith, Bucklin and Associates. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. 2001-02-26 12:43 ` Larry Kilgallen 2001-02-26 13:02 ` Terry C. Shannon @ 2001-02-26 15:48 ` Jan Vorbrueggen 1 sibling, 0 replies; 168+ messages in thread From: Jan Vorbrueggen @ 2001-02-26 15:48 UTC (permalink / raw) Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) writes: > What _I_ want for VMS is for somebody to fix that site so voting works with > secured browsers. I tried again this morning and it _still_ gives an error > message saying (page http://compaqworkinggroup.org/JavascriptCheck.cfm) that > JavaScript is required. When an online bank returns a blank page if you accidentally [sic(k)] have JavaScript disabled, without so much as a peep, what else can you expect? Jan ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. Was: So what Are we meant to use on the 'desktop' 2001-02-25 19:51 ` VMS wanted list. Was: " Paul Repacholi 2001-02-25 20:45 ` VMS wanted list Terry C. Shannon @ 2001-02-26 16:47 ` Hoff Hoffman 2001-02-26 21:01 ` Bill Gunshannon ` (2 more replies) 1 sibling, 3 replies; 168+ messages in thread From: Hoff Hoffman @ 2001-02-26 16:47 UTC (permalink / raw) In article <871ysma6dz.fsf_-_@prep.synonet.com>, Paul Repacholi <prep@prep.synonet.com> writes: :"Terry C. Shannon" <terryshannon@mediaone.net> writes: : :> I came, I installed, I deleted. That said, Compaq has a team of :> folks working on StarOrifice for OpenVMS as we speak. This is an :> outside project, e.g. not formally sanctioned and not being done :> during regular working hours. I'm familiar with some of the internal discussions around StarOffice and of a port... As I have noted before, this port is a huge project -- and the "not during regular hours" part needs to be stressed. This port may or may not ever see the light, and I would be remiss to offer anything even approaching a schedule or a plan... :Hum, perhaps it is time for a 'what do folks want on VMS' list. Um, (respectfully) no... Folks around here do have a good idea of the common requests -- I have been working to make sure commonly-requested tools are available... Perhaps it is time for a `how can we help you port it?' list, instead... Like most any commercial software organization, OpenVMS Engineering does not have the cycles available to port everything for everyone... (I am hesitant to offer to coordinate such an effort, as I'm already working regularly in this area with the Freeware...) ---------------------------- #include <rtfaq.h> ----------------------------- For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com --------------------------- pure personal opinion --------------------------- Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. Was: So what Are we meant to use on the 'desktop' 2001-02-26 16:47 ` VMS wanted list. Was: So what Are we meant to use on the 'desktop' Hoff Hoffman @ 2001-02-26 21:01 ` Bill Gunshannon 2001-02-27 0:19 ` Christof Brass 2001-02-28 16:37 ` VMS wanted list. Take II Paul Repacholi 2 siblings, 0 replies; 168+ messages in thread From: Bill Gunshannon @ 2001-02-26 21:01 UTC (permalink / raw) In article <eMvm6.137$dl6.2080@gazette.loc1.tandem.com>, hoffman@xdelta.zko.dec.nospam (Hoff Hoffman) writes: |> |> Perhaps it is time for a `how can we help you port it?' list, instead... |> I think we have pretty much beat this one to death over the past year. It gets talked about a lot, but nothing ever comes of it. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. Was: So what Are we meant to use on the 'desktop' 2001-02-26 16:47 ` VMS wanted list. Was: So what Are we meant to use on the 'desktop' Hoff Hoffman 2001-02-26 21:01 ` Bill Gunshannon @ 2001-02-27 0:19 ` Christof Brass [not found] ` <97giah$jo3@gap.cco.caltech.edu> 2001-02-28 16:37 ` VMS wanted list. Take II Paul Repacholi 2 siblings, 1 reply; 168+ messages in thread From: Christof Brass @ 2001-02-27 0:19 UTC (permalink / raw) Hoff Hoffman wrote: > > In article <871ysma6dz.fsf_-_@prep.synonet.com>, Paul Repacholi <prep@prep.synonet.com> writes: > :"Terry C. Shannon" <terryshannon@mediaone.net> writes: > : > :> I came, I installed, I deleted. That said, Compaq has a team of > :> folks working on StarOrifice for OpenVMS as we speak. This is an > :> outside project, e.g. not formally sanctioned and not being done > :> during regular working hours. > > I'm familiar with some of the internal discussions around StarOffice > and of a port... As I have noted before, this port is a huge project > -- and the "not during regular hours" part needs to be stressed. This > port may or may not ever see the light, and I would be remiss to offer > anything even approaching a schedule or a plan... > > :Hum, perhaps it is time for a 'what do folks want on VMS' list. > > Um, (respectfully) no... > > Folks around here do have a good idea of the common requests -- I have > been working to make sure commonly-requested tools are available... > > Perhaps it is time for a `how can we help you port it?' list, instead... > > Like most any commercial software organization, OpenVMS Engineering does > not have the cycles available to port everything for everyone... (I am > hesitant to offer to coordinate such an effort, as I'm already working > regularly in this area with the Freeware...) > > ---------------------------- #include <rtfaq.h> ----------------------------- > For additional, please see the OpenVMS FAQ -- www.openvms.compaq.com > --------------------------- pure personal opinion --------------------------- > Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com Let the VMS engineering people to VMS engineering. The did and do a great job. Let other poeple do the apps. ^ permalink raw reply [flat|nested] 168+ messages in thread
[parent not found: <97giah$jo3@gap.cco.caltech.edu>]
* Re: VMS wanted list. Was: So what Are we meant to use on the 'desktop' [not found] ` <97giah$jo3@gap.cco.caltech.edu> @ 2001-02-27 21:19 ` Rick Cadruvi 2001-02-27 22:44 ` Christof Brass 0 siblings, 1 reply; 168+ messages in thread From: Rick Cadruvi @ 2001-02-27 21:19 UTC (permalink / raw) Sad, but true. There are lots of potential 3rd party system software products I would still love to write for VMS, but you can't find people who will buy them. Not because they couldn't use them, but because VMS is considered basic stable datacenter not worth messing with. If the apps work right now, leave the system alone and new apps will come online on Windows or Linux or some other "new and exciting" platform (just kidding). Rick Cadruvi... "David Mathog" <mathog@seqaxp.bio.caltech.edu> wrote in message news:97giah$jo3@gap.cco.caltech.edu... > In article <3A9AF28F.F9530561@infopuls.com>, Christof Brass <brass@infopuls.com> writes: > >Let the VMS engineering people to VMS engineering. The did and > >do a great job. Let other poeple do the apps. > > They used to. It was called third party software. Digital/Compaq > marketing of OpenVMS drove most of it out of existence - and good luck > finding what's left (ie, Wordperfect for VMS, etc.). At this point nobody > but a few spokesmen for Compaq ever say that the OS has any future outside > of the data center, and the retreat of all commercial software vendors from > the platform is the natural consequence. Only the few remaining users now > have any interest in obtaining this sort of software and they don't > represent a large enough margin to attract commercial software. Moreover, > no vendor in their right mind is going to invest in OpenVMS now, given > Compaq's nonexistent support for the platform outside of the datacenter. (I > cite, in particular, their insanely bad academic programs and the > nondeliverance for N years of a modern browser for the platform.) That > leaves ports of freeware as the only remaining source of software. And > frankly speaking, if that's the software you are going to run, you might as > well run it on Linux or netBSD. > > Don't get me wrong - I do like VMS. But the actions of Digital/Compaq > management cannot be overcome by the customers. We're only passengers on > this ship. And much as may like our cabins when the crew keeps ramming > icebergs it's time to take to the lifeboats. > > David Mathog > mathog@seqaxp.bio.caltech.edu > Manager, sequence analysis facility, biology division, Caltech > ************************************************************************** > * RIP VMS * > ************************************************************************** ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. Was: So what Are we meant to use on the 'desktop' 2001-02-27 21:19 ` Rick Cadruvi @ 2001-02-27 22:44 ` Christof Brass 0 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-02-27 22:44 UTC (permalink / raw) Rick Cadruvi wrote: > > Sad, but true. There are lots of potential 3rd party system software > products I would still love to write for VMS, but you can't find people > who will buy them. Not because they couldn't use them, but because > VMS is considered basic stable datacenter not worth messing with. > If the apps work right now, leave the system alone and new apps will > come online on Windows or Linux or some other "new and exciting" platform > (just kidding). > > Rick Cadruvi... > > "David Mathog" <mathog@seqaxp.bio.caltech.edu> wrote in message > news:97giah$jo3@gap.cco.caltech.edu... > > In article <3A9AF28F.F9530561@infopuls.com>, Christof Brass > <brass@infopuls.com> writes: > > >Let the VMS engineering people to VMS engineering. The did and > > >do a great job. Let other poeple do the apps. > > > > They used to. It was called third party software. Digital/Compaq > > marketing of OpenVMS drove most of it out of existence - and good luck > > finding what's left (ie, Wordperfect for VMS, etc.). At this point nobody > > but a few spokesmen for Compaq ever say that the OS has any future outside > > of the data center, and the retreat of all commercial software vendors > from > > the platform is the natural consequence. Only the few remaining users now > > have any interest in obtaining this sort of software and they don't > > represent a large enough margin to attract commercial software. Moreover, > > no vendor in their right mind is going to invest in OpenVMS now, given > > Compaq's nonexistent support for the platform outside of the datacenter. > (I > > cite, in particular, their insanely bad academic programs and the > > nondeliverance for N years of a modern browser for the platform.) That > > leaves ports of freeware as the only remaining source of software. And > > frankly speaking, if that's the software you are going to run, you might > as > > well run it on Linux or netBSD. > > > > Don't get me wrong - I do like VMS. But the actions of Digital/Compaq > > management cannot be overcome by the customers. We're only passengers on > > this ship. And much as may like our cabins when the crew keeps ramming > > icebergs it's time to take to the lifeboats. > > > > David Mathog > > mathog@seqaxp.bio.caltech.edu > > Manager, sequence analysis facility, biology division, Caltech > > ************************************************************************** > > * RIP VMS * > > ************************************************************************** I think there is one possibility: first write new server apps. And there is an area to come where VMS will excel. Wait one or two years and you will think about that. ^ permalink raw reply [flat|nested] 168+ messages in thread
* VMS wanted list. Take II 2001-02-26 16:47 ` VMS wanted list. Was: So what Are we meant to use on the 'desktop' Hoff Hoffman 2001-02-26 21:01 ` Bill Gunshannon 2001-02-27 0:19 ` Christof Brass @ 2001-02-28 16:37 ` Paul Repacholi 2001-03-01 4:17 ` Christof Brass 2 siblings, 1 reply; 168+ messages in thread From: Paul Repacholi @ 2001-02-28 16:37 UTC (permalink / raw) hoffman@xdelta.zko.dec.nospam (Hoff Hoffman) writes: > In article <871ysma6dz.fsf_-_@prep.synonet.com>, Paul Repacholi > <prep@prep.synonet.com> writes: > :Hum, perhaps it is time for a 'what do folks want on VMS' list. > Um, (respectfully) no... > Folks around here do have a good idea of the common requests -- I > have been working to make sure commonly-requested tools are > available... > Perhaps it is time for a `how can we help you port it?' list, > instead... > Like most any commercial software organization, OpenVMS > Engineering does not have the cycles available to port everything > for everyone... (I am hesitant to offer to coordinate such an > effort, as I'm already working regularly in this area with the > Freeware...) I was not thinking of an open ended winge list to ZK Hoff. Everyone had their own list of 'must haves', wants, and nice extra stuff. The common feature is that they are all different... So it would be nice if we had some idea of what others wanted, and if someone else was working on it. It would be even nicer if we started to do some design and engineering *before* people started cutting code... You know, those things that under lie WHY we like VMS to start with. For VMS itself, there is the traditional SIR process. This is a parallel to that. So let see if we can do it, and do it well. BTW, that includes ruthless editing of Subject: and no topic drift folks. So let's start with the wishlist process. NO 'I want...' yet please. This is about how we conordinate and plan the whole mess. -- Paul Repacholi 1 Crescent Rd., +61 (08) 9257-1001 Kalamunda. West Australia 6076 Raw, Cooked or Well-done, it's all half baked. ^ permalink raw reply [flat|nested] 168+ messages in thread
* Re: VMS wanted list. Take II 2001-02-28 16:37 ` VMS wanted list. Take II Paul Repacholi @ 2001-03-01 4:17 ` Christof Brass 0 siblings, 0 replies; 168+ messages in thread From: Christof Brass @ 2001-03-01 4:17 UTC (permalink / raw) Paul Repacholi wrote: > > hoffman@xdelta.zko.dec.nospam (Hoff Hoffman) writes: > > > In article <871ysma6dz.fsf_-_@prep.synonet.com>, Paul Repacholi > > <prep@prep.synonet.com> writes: > > > :Hum, perhaps it is time for a 'what do folks want on VMS' list. > > > Um, (respectfully) no... > > > Folks around here do have a good idea of the common requests -- I > > have been working to make sure commonly-requested tools are > > available... > > > Perhaps it is time for a `how can we help you port it?' list, > > instead... > > > Like most any commercial software organization, OpenVMS > > Engineering does not have the cycles available to port everything > > for everyone... (I am hesitant to offer to coordinate such an > > effort, as I'm already working regularly in this area with the > > Freeware...) > > I was not thinking of an open ended winge list to ZK Hoff. > > Everyone had their own list of 'must haves', wants, and nice extra > stuff. The common feature is that they are all different... So it > would be nice if we had some idea of what others wanted, and if > someone else was working on it. > > It would be even nicer if we started to do some design and engineering > *before* people started cutting code... You know, those things that > under lie WHY we like VMS to start with. > > For VMS itself, there is the traditional SIR process. > > This is a parallel to that. > > So let see if we can do it, and do it well. BTW, that includes > ruthless editing of Subject: and no topic drift folks. > > So let's start with the wishlist process. NO 'I want...' yet please. > This is about how we conordinate and plan the whole mess. > > -- > Paul Repacholi 1 Crescent Rd., > +61 (08) 9257-1001 Kalamunda. > West Australia 6076 > Raw, Cooked or Well-done, it's all half baked. Please explain in more detail what you have in mind. ^ permalink raw reply [flat|nested] 168+ messages in thread
end of thread, other threads:[~2001-03-15 14:13 UTC | newest]
Thread overview: 168+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <OF5876F951.ACBD5F93-ON032569FC.003E241B@ep-bc.petrobras.com.br>
[not found] ` <87n1baae6s.fsf@prep.synonet.com>
2001-02-25 17:38 ` So what Are we meant to use on the 'desktop' Terry C. Shannon
2001-02-25 19:23 ` David Mathog
2001-02-26 1:18 ` Christof Brass
2001-02-26 1:59 ` Bill Todd
2001-02-26 12:49 ` Larry Kilgallen
2001-02-26 19:09 ` Rick Cadruvi
2001-02-26 20:47 ` Larry Kilgallen
2001-02-26 21:04 ` Bill Gunshannon
2001-02-27 0:07 ` Christof Brass
2001-02-27 1:00 ` Bill Todd
2001-02-27 1:26 ` Drop C/C++ better sooner than later Christof Brass
2001-02-27 2:47 ` Rick Cadruvi
2001-02-27 3:59 ` JF Mezei
[not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <wrCvgGxaSLv9@eisner.encompasserve.org>
2001-02-27 21:13 ` Rick Cadruvi
2001-02-27 22:34 ` Christof Brass
2001-02-28 1:36 ` Rick Cadruvi
2001-02-28 13:48 ` LJEB
2001-02-28 16:28 ` Rick Cadruvi
2001-03-01 11:54 ` LJEB
2001-02-28 14:22 ` Bill Gunshannon
2001-02-28 14:33 ` John Reagan
2001-02-28 15:19 ` Jan Vorbrueggen
2001-02-28 16:42 ` Rick Cadruvi
2001-02-28 17:45 ` John Reagan
2001-02-28 14:58 ` Robert Deininger
2001-02-28 15:29 ` Jan Vorbrueggen
2001-02-28 16:55 ` Bill Gunshannon
2001-02-28 18:05 ` Bob Koehler
2001-03-01 9:07 ` Jan Vorbrueggen
2001-02-28 18:34 ` Larry Kilgallen
2001-02-28 23:10 ` Rick Cadruvi
2001-02-28 19:52 ` Robert Deininger
2001-03-01 14:21 ` Bob Koehler
[not found] ` <KForX+5U$4bOrganization: Encompasserve <ZDsZwRGKoAEm@eisner.encompasserve.org>
2001-03-01 15:16 ` Jan Vorbrueggen
2001-03-01 21:58 ` JF Mezei
2001-03-02 10:26 ` Alan Greig
2001-03-05 10:20 ` Jan Vorbrueggen
2001-02-28 20:19 ` JF Mezei
2001-03-01 13:52 ` Bill Gunshannon
2001-03-01 15:13 ` Jan Vorbrueggen
2001-03-01 16:05 ` Bill Gunshannon
2001-03-01 17:08 ` Robert Deininger
2001-03-01 17:47 ` Rick Cadruvi
2001-03-01 20:36 ` Paul Repacholi
2001-03-01 23:11 ` Christof Brass
2001-03-03 14:54 ` Jan Vorbrueggen
2001-03-06 19:24 ` Bill Gunshannon
2001-03-06 21:53 ` Larry Kilgallen
2001-03-06 22:29 ` David J. Dachtera
2001-03-07 0:33 ` Brian Schenkenberger, VAXman-
2001-03-07 2:53 ` Christof Brass
2001-03-07 3:27 ` Robert Deininger
2001-03-07 14:33 ` Bill Gunshannon
2001-03-07 14:21 ` Jan Vorbrueggen
2001-03-13 7:49 ` Fred Zwarts
2001-03-13 16:12 ` John Reagan
2001-03-01 16:58 ` Robert Deininger
2001-03-01 21:45 ` JF Mezei
2001-03-01 3:40 ` Christof Brass
2001-03-01 5:52 ` Robert Deininger
2001-03-01 3:33 ` Christof Brass
2001-03-01 6:03 ` JF Mezei
2001-03-01 17:11 ` Rick Cadruvi
2001-03-01 23:28 ` Christof Brass
2001-03-01 23:47 ` Rick Cadruvi
2001-03-02 10:45 ` Paul Repacholi
2001-03-02 18:52 ` Rick Cadruvi
2001-03-03 1:42 ` Christof Brass
2001-03-02 1:11 ` Brian Schenkenberger, VAXman-
2001-03-02 5:06 ` Rick Cadruvi
2001-03-02 10:32 ` Brian Schenkenberger, VAXman-
2001-03-06 20:47 ` bob.marcan
2001-02-28 15:03 ` Per Schr�der
2001-02-28 16:50 ` Rick Cadruvi
2001-02-28 17:48 ` Bob Koehler
2001-02-28 18:26 ` Bill Gunshannon
2001-03-01 13:41 ` Bob Koehler
2001-02-28 18:22 ` Larry Kilgallen
2001-03-01 1:39 ` Christof Brass
2001-03-01 9:38 ` Jan Vorbrueggen
2001-03-01 17:20 ` Rick Cadruvi
2001-03-01 23:38 ` Christof Brass
2001-02-28 12:39 ` Bill Gunshannon
2001-02-27 23:00 ` Larry Kilgallen
2001-02-28 0:12 ` Brian Schenkenberger, VAXman-
2001-02-28 13:56 ` Bill Gunshannon
2001-02-28 15:11 ` Jan Vorbrueggen
2001-02-28 16:31 ` Rick Cadruvi
2001-02-28 2:14 ` Larry Kilgallen
2001-02-28 2:46 ` Bill Todd
2001-03-01 2:12 ` Christof Brass
[not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <009F8479.B6EC89DC@SendSpamHere.ORG>
2001-03-01 1:46 ` Christof Brass
[not found] ` <XyEm6.896$be1.355692@paloalto-snr1.gtei.neDistribution: world <5ABc4wgf5wcs@eisner.encompasserve.org>
2001-02-28 4:46 ` Rick Cadruvi
2001-02-28 6:28 ` Robert Deininger
2001-02-28 7:16 ` JF Mezei
2001-02-28 16:05 ` Rick Cadruvi
2001-03-01 2:46 ` Christof Brass
2001-03-01 2:25 ` Christof Brass
2001-02-28 7:08 ` JF Mezei
2001-02-28 8:52 ` Jan Vorbrueggen
2001-03-01 2:47 ` Christof Brass
2001-03-01 6:37 ` Nikita V. Belenki
2001-03-01 23:40 ` Christof Brass
2001-03-03 10:18 ` Nikita V. Belenki
2001-03-03 10:40 ` Christof Brass
2001-03-12 3:29 ` Mark Garrett
2001-03-12 4:05 ` Bob Willard
2001-03-12 8:02 ` Paul Repacholi
2001-03-15 14:13 ` Alan Greig
2001-02-28 13:39 ` Bob Koehler
2001-02-28 16:11 ` Rick Cadruvi
2001-02-28 20:00 ` JF Mezei
2001-03-01 9:16 ` Jan Vorbrueggen
2001-03-01 23:42 ` Christof Brass
2001-03-01 13:48 ` Bill Gunshannon
2001-03-01 23:18 ` John Santos
2001-02-28 18:11 ` Larry Kilgallen
2001-02-28 20:01 ` Robert Deininger
2001-03-01 2:18 ` Christof Brass
[not found] ` <9hjmlkwyghte@eisner.encompasserve.org>
2001-02-28 17:59 ` Bob Koehler
2001-02-28 18:31 ` Bill Gunshannon
2001-03-01 15:40 ` Bob Koehler
2001-03-01 18:10 ` Larry Kilgallen
[not found] ` <97Organization: Encompasserve <Y$aqbQdRtYFw@eisner.encompasserve.org>
2001-03-01 17:38 ` Rick Cadruvi
2001-03-01 18:53 ` Nikita V. Belenki
2001-03-02 13:13 ` Bob Koehler
2001-03-02 13:24 ` Bob Koehler
2001-02-28 23:08 ` Larry Kilgallen
2001-03-01 13:50 ` Bob Koehler
2001-03-01 13:54 ` Bob Koehler
2001-03-01 15:12 ` Jan Vorbrueggen
2001-02-28 8:46 ` Jan Vorbrueggen
2001-03-01 1:56 ` Christof Brass
2001-02-26 12:17 ` So what Are we meant to use on the 'desktop' Alan Greig
2001-02-25 19:51 ` VMS wanted list. Was: " Paul Repacholi
2001-02-25 20:45 ` VMS wanted list Terry C. Shannon
2001-02-25 22:44 ` Howard S Shubs
2001-02-26 0:37 ` Terry C. Shannon
2001-02-26 1:19 ` Eric Smith
2001-02-26 4:13 ` Howard S Shubs
2001-02-26 5:27 ` Terry C. Shannon
2001-02-26 6:38 ` Howard S Shubs
2001-02-27 0:12 ` Christof Brass
2001-02-27 3:22 ` Terry C. Shannon
2001-02-27 22:37 ` Christof Brass
2001-02-27 11:15 ` Brian Schenkenberger, VAXman-
2001-02-27 22:37 ` Christof Brass
2001-02-28 2:12 ` Bob Kaplow
[not found] ` <3A9AF0DB.Organization: What, me, organized? <rUslzcAE$7$5@eisner.encompasserve.org>
2001-03-12 2:49 ` Mark Garrett
2001-03-12 13:52 ` Bob Kaplow
2001-02-26 15:35 ` Tim Llewellyn
2001-02-26 23:51 ` Terry C. Shannon
2001-02-27 0:15 ` Christof Brass
2001-02-26 11:27 ` Brian Schenkenberger, VAXman-
2001-02-27 21:43 ` Terry C Shannon
2001-02-27 22:07 ` Brian Schenkenberger, VAXman-
2001-02-26 19:16 ` Rick Cadruvi
2001-02-26 0:48 ` Christof Brass
2001-02-26 12:43 ` Larry Kilgallen
2001-02-26 13:02 ` Terry C. Shannon
2001-02-26 15:48 ` Jan Vorbrueggen
2001-02-26 16:47 ` VMS wanted list. Was: So what Are we meant to use on the 'desktop' Hoff Hoffman
2001-02-26 21:01 ` Bill Gunshannon
2001-02-27 0:19 ` Christof Brass
[not found] ` <97giah$jo3@gap.cco.caltech.edu>
2001-02-27 21:19 ` Rick Cadruvi
2001-02-27 22:44 ` Christof Brass
2001-02-28 16:37 ` VMS wanted list. Take II Paul Repacholi
2001-03-01 4:17 ` Christof Brass
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox