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,c4cb2c432feebd9d X-Google-Thread: 1094ba,c4cb2c432feebd9d X-Google-Attributes: gid103376,gid1094ba,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!u72g2000cwu.googlegroups.com!not-for-mail From: robert.corbett@sun.com Newsgroups: comp.lang.ada,comp.lang.fortran Subject: Re: Ada vs Fortran for scientific applications Date: 30 May 2006 21:26:00 -0700 Organization: http://groups.google.com Message-ID: <1149049560.268231.10360@u72g2000cwu.googlegroups.com> References: <0ugu4e.4i7.ln@hunter.axlog.fr> <%P_cg.155733$eR6.26337@bgtnsc04-news.ops.worldnet.att.net> NNTP-Posting-Host: 192.18.128.13 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1149049565 7862 127.0.0.1 (31 May 2006 04:26:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 31 May 2006 04:26:05 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.3) Gecko/20040914,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 S1PS Complaints-To: groups-abuse@google.com Injection-Info: u72g2000cwu.googlegroups.com; posting-host=192.18.128.13; posting-account=drIiqwwAAAArrez9N9pqypzLVd7IeAjb Xref: g2news2.google.com comp.lang.ada:4611 comp.lang.fortran:10519 Date: 2006-05-30T21:26:00-07:00 List-Id: Dick Hendrickson wrote: > There's no real excuse for writting a new program > without using modules to specify the interfaces and > this essentially guarantees that the compiler will > do the right thing. One serious practical problem > with large codes has been compilation cascades. Any > change to a low-level module almost always forced a > recompilation of everything that used the module, even > if the change had no effect on the interfaces. This > is mostly due to the way make interacts with the > commonest implementation of modules, I think. This > will be fixed (or at least changed ;) ) in F2008. There is a way to write makefiles that avoids recompilation cascades without omitting essential dependencies. The problem is it takes a make expert to figure out how to do it. Sun's make expert showed me how to do it. A greater problem is that different implementations of modules require different makefiles. A UNIX/Linux standard for implementing modules would be a boon to users. Bob Corbett