From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,81cf52699486abe7 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Code size of Ada ? was Re: Ada95 Strengths/Weaknesses. Date: 1999/10/18 Message-ID: <7ue1ds$oqi$1@nnrp1.deja.com>#1/1 X-Deja-AN: 537271603 References: <37EED7B8.245C0054@yukyonline.co.yuky> <7smp30$9aa1@news.cis.okstate.edu> <7sp8m9$a6e$1@nnrp1.deja.com> <37F0D03C.DE4807D4@icn.siemens.de> <7srnb9$2u3$1@nnrp1.deja.com> <1999Sep29.075617.1@eisner> <37F22BB1.F3524D60@icn.siemens.de> <7sts6b$kla$1@nnrp1.deja.com> <37F349BB.B1F39ECF@icn.siemens.de> <7svmrk$tkl$1@nnrp1.deja.com> <7t0eo1$hd0$1@nnrp1.deja.com> <7t2e1l$lqt2@ftp.kvaerner.com> <37F91D6E.58685CFE@mitre.org> <7tf7uo$h2b$1@nnrp1.deja.com> <37FBA978.A86762F1@mitre.org> X-Http-Proxy: 1.0 x23.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Oct 18 02:42:06 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-10-18T00:00:00+00:00 List-Id: In article <37FBA978.A86762F1@mitre.org>, "Robert I. Eachus" wrote: > I think we are talking at cross-purposes here. On short sequences > both you and can generate the sequences we want in our minds, and > whether we write those fragments in assembly, or build them into the > compiler run-time libraries is immaterial. No, I was not talking about short sequences here. I have written many large programs in assembly in the past (probably I have written about half a million lines of delivered commercial assembly code). For an example of a fairly large program written in very aggressive assembly language throughout, about 20K SLOC, look at the 360 implemnetation of SPITBOL (note that is a COMPLETE, very fast SNOBOL-4 compiler which fits in about 80K bytes of code -- it compiles at many millions of lines a minute, using the TRT instruction extensively for lexical analysis). But I certainly do NOT recommend this style of programming, an ASM program of this size, written in this manner, is barely maintainable, and the number of people who can work with such programs is minimal. I think it is important to understand that using higher level languages does have a cost. The objective is to keep the cost at a reasonable level (many current Java implementations fail to meet this criterion). With current machines, we can afford to give up a small factor of inefficiency, but not a large factor :-) Sent via Deja.com http://www.deja.com/ Before you buy.