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,aea4cc77526f5e4a X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr19.news.prodigy.net.POSTED!4988f22a!not-for-mail From: Newsgroups: comp.lang.ada References: Subject: Re: Separate Compilation in Programming Languages X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Message-ID: NNTP-Posting-Host: 70.134.114.51 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr19.news.prodigy.net 1203724369 ST000 70.134.114.51 (Fri, 22 Feb 2008 18:52:49 EST) NNTP-Posting-Date: Fri, 22 Feb 2008 18:52:49 EST Organization: AT&T http://yahoo.sbc.com X-UserInfo1: S[OQB\CEBZUWSSD[N[O@_WH@YR_B@EXLLBWLOOAFWIWTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN Date: Fri, 22 Feb 2008 15:53:12 -0800 Xref: g2news1.google.com comp.lang.ada:20003 Date: 2008-02-22T15:53:12-08:00 List-Id: "Ray Blaak" wrote in message news:ur6f4x3o3.fsf@STRIPCAPStelus.net... > > writes: >> Java has no separate compilation at all. > > Of course it does. It has no explicit syntax dedicated to describing separate > compilation, but it doesn't need it. It is quite straightforward to make > separate libraries, etc. > The issue is about dependencies. When the class definition and the class implementation are in the same file, any dependent units will have to be compiled when there is a change in that file. I don't see any capability for managing this kind of dependency in Java. > It's just that the closure is implicit, but it works well in practice since > the compiler tells you if it can't find anything missing. > > You can still get the benefits of separate compilation by simply having > reasonable subsystems (i.e. packages), proper information hiding and the > like. Java build environments seem pretty decent with compiling only what is > needed. > > It's like the problem is not really relevant with Java. > > -- > Cheers, The Rhythm is around me, > The Rhythm has control. > Ray Blaak The Rhythm is inside me, > rAYblaaK@STRIPCAPStelus.net The Rhythm has my soul.