From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8be18979db11f51c X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,fb631c9316319fef X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-03-06 11:32:08 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.berkeley.edu!ucberkeley!diablo.cs.uofs.edu!info.cs.scranton.edu!triangle.cs.uofs.edu!bill From: bill@triangle.cs.uofs.edu (Bill Gunshannon) Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: Drop C/C++ better sooner than later Date: 6 Mar 2001 19:24:34 GMT Organization: University of Scranton Message-ID: <983dhi$2pr2$1@info.cs.uofs.edu> References: <97j1jq$g00$1@info.cs.uofs.edu> <3A9D5D59.F09FC122@videotron.ca> <97lk6a$1p33$2@info.cs.uofs.edu> <97m1v4$l0g@dispatch.concentric.net> Reply-To: bill@cs.scranton.edu NNTP-Posting-Host: triangle.cs.uofs.edu X-Trace: info.cs.uofs.edu 983906674 92002 134.198.172.101 (6 Mar 2001 19:24:34 GMT) X-Complaints-To: news@cs.uofs.edu NNTP-Posting-Date: 6 Mar 2001 19:24:34 GMT X-Newsreader: xrn 9.01 Xref: supernews.google.com comp.os.vms:21291 comp.sys.dec:3075 In article , Jan Vorbrueggen writes: |> "Rick Cadruvi" 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