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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d8e86e1b9bb29940 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!208.49.83.154!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: "autocode" vs "intermediate code" References: <2007021717413416807-rblove@airmailnet> <366ma4-3m6.ln1@newserver.thecreems.com> <2007021920150816807-rblove@airmailnet> From: Stephen Leake Date: Tue, 20 Feb 2007 07:21:25 -0500 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:b5P2yvGTnayBO+JKl9SNmCJOYTg= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 917a445dae7cb759e00d406891 Xref: g2news2.google.com comp.lang.ada:9365 Date: 2007-02-20T07:21:25-05:00 List-Id: R. B. Love writes: > On 2007-02-18 19:13:47 -0600, Ed Falis said: > >> Jeffrey Creem wrote: >> >>> Do you have first hand knowledge that ISS has a lot of Ada. >> Yes. Or at least I can't believe they rewrote all the code they wrote >> (often using code-generation tools) for the MDM's. > > Regarding code generation, I know that MatrixX was used for part of > the GNC MDMs. The CMG control logic was designed by Huntington Beach > and autocode was created. The navigation and monitoring code was > written by hand in Houston. Guess which one is readable? I assume the Ada original source for the navigation and monitoring code is more readable than the Ada intermediate code for the GNC. But that's like saying the assembly intermediate code for the navigation is not as readable as the assembly original source for some core floating point function. Using the term "code generation" instead of "compiled to intermediate code" is misleading. It is more appropriate to say the GNC code was written in MatrixX, and Ada was just an intermediate language on the way to machine code. The proper question is whether the Ada original source for the navigation is more readable than the MatrixX original source for the GNC. For myself, I find most MatrixX (and Matlab Simulink) source to be hard to read, so I would probably find the Ada code more readable. But some people prefer the graphical languages of MatrixX and Simulink; I assume that's why they used it. A related question is whether you can still buy support for the Ada compiler and the MatrixX compiler. MatrixX went out of business; is the Ada vendor used for ISS still in business? And how many MatrixX or Simulink programmers can you find on the market? I bet it's far fewer than Ada programmers. Yet no manager would hesitate to allow Simulink source on their project, because it's the "in" thing. -- -- Stephe