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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: ANN: Kickstarter for beginning work on a new open-source Compiler Date: Wed, 19 Mar 2014 17:28:13 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <5151491a-14c3-4138-bcb5-f29108aeefb9@googlegroups.com> <857g7q6za4.fsf@stephe-leake.org> <0d9343e9-6190-46b0-a313-bc33ed17f28d@googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: loke.gir.dk 1395268096 15265 69.95.181.76 (19 Mar 2014 22:28:16 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 19 Mar 2014 22:28:16 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Path: backlog1.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!news.ecp.fr!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail Xref: number.nntp.dca.giganews.com comp.lang.ada:185207 Date: 2014-03-19T17:28:13-05:00 List-Id: "Shark8" wrote in message news:0d9343e9-6190-46b0-a313-bc33ed17f28d@googlegroups.com... ... > But storing it as unprocessed text means that you [well, your > computer/tools] have to repeat a lot of work (e.g. parsing) again and > again. "Moving that processing to the outer loop" can reduce that, and > given the advantages of working w/ meaningful-data vs. generalized-text > it seems like a reasonable thing to do. *Seems* reasonable, but actually is just premature optimization. Computers have gotten amazingly fast these days -- a lot of the design decisions that we made with Janus/Ada to reduce compilation time and storage requirements don't do much today. And remember that an IDE needs human-level response times. On a modern computer, one can do a heck of a lot in between keypresses or mouse movements. On top of that, parsing is relatively easy and cheap. Parsing is one of the cheaper phases of a compiler, and it's dubious that it would be worth a complex (and likely to be much more fragile) data structure in order to save that small amount of time. Especially with the other costs of going away from standard text representations. Randy.